aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-11-07 12:00:01 -0600
committerColin Snover2017-11-17 22:47:59 -0600
commit6c40ceded18b918aa13780e216b89c205514275f (patch)
tree57dea11b45e110cff50a315fd45c9c2e24e40491 /engines
parent87285ef6093e1cf1dad738bef5bab25ae10be6d4 (diff)
downloadscummvm-rg350-6c40ceded18b918aa13780e216b89c205514275f.tar.gz
scummvm-rg350-6c40ceded18b918aa13780e216b89c205514275f.tar.bz2
scummvm-rg350-6c40ceded18b918aa13780e216b89c205514275f.zip
TITANIC: Fix compilation failure in C++11 mode
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/support/rect.h2
1 files changed, 1 insertions, 1 deletions
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