aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorMax Horn2011-12-12 16:17:30 +0100
committerMax Horn2011-12-12 16:27:41 +0100
commit30909b1ae455a7cb615720d5a65616925c3172a3 (patch)
tree60c11a566c7bdaaa9e39cd8663e62a9bba725fe1 /engines/tsage/blue_force
parent1f96dc550c554e5481496b729434e0b36fa2eaa7 (diff)
downloadscummvm-rg350-30909b1ae455a7cb615720d5a65616925c3172a3.tar.gz
scummvm-rg350-30909b1ae455a7cb615720d5a65616925c3172a3.tar.bz2
scummvm-rg350-30909b1ae455a7cb615720d5a65616925c3172a3.zip
TSAGE: Fix warning about hidden remove() method from parent class
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_logic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.h b/engines/tsage/blue_force/blueforce_logic.h
index d0d0e0ee40..f5a3938f2b 100644
--- a/engines/tsage/blue_force/blueforce_logic.h
+++ b/engines/tsage/blue_force/blueforce_logic.h
@@ -65,6 +65,9 @@ public:
void add(EventHandler *obj);
void remove(EventHandler *obj);
+ // The following line prevents compiler warnings about hiding the remove()
+ // method from the parent class.
+ virtual void remove() { EventHandler::remove(); }
};
class Timer: public EventHandler {