From 6c40ceded18b918aa13780e216b89c205514275f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 7 Nov 2017 12:00:01 -0600 Subject: TITANIC: Fix compilation failure in C++11 mode --- engines/titanic/support/rect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/titanic/support/rect.h b/engines/titanic/support/rect.h index eca256df56..874dbdae59 100644 --- a/engines/titanic/support/rect.h +++ b/engines/titanic/support/rect.h @@ -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 -- cgit v1.2.3