diff options
author | Colin Snover | 2017-11-07 12:00:01 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-17 22:47:59 -0600 |
commit | 6c40ceded18b918aa13780e216b89c205514275f (patch) | |
tree | 57dea11b45e110cff50a315fd45c9c2e24e40491 /engines/titanic/support | |
parent | 87285ef6093e1cf1dad738bef5bab25ae10be6d4 (diff) | |
download | scummvm-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/titanic/support')
-rw-r--r-- | engines/titanic/support/rect.h | 2 |
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 |