Skip to content

Commit

Permalink
TITANIC: Fix compilation failure in C++11 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
csnover committed Nov 18, 2017
1 parent 87285ef commit 6c40ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/support/rect.h
Expand Up @@ -42,7 +42,7 @@ class Rect : public Common::Rect {
/**
* 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
Expand Down

0 comments on commit 6c40ced

Please sign in to comment.