TITANIC: Fix compilation failure in C++11 mode

This commit is contained in:
Colin Snover 2017-11-07 12:00:01 -06:00
parent 87285ef609
commit 6c40ceded1

View File

@ -42,7 +42,7 @@ public:
/**
* Returns the top/left corner of the rect as a point
*/
operator const Point() { return Point(left, top); }
operator Point() { return Point(left, top); }
/**
* Clear the rect