summaryrefslogtreecommitdiffstats
path: root/src/object/auto/autojostle.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-05-26 17:45:15 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-05-27 10:19:04 +0200
commit538745a731d07facd7a1574c04a5d34d23ce3bfa (patch)
tree4c3cee3371c06faf7b78dcf859da3cc5cf8ac242 /src/object/auto/autojostle.h
parent1a3aa0d60f85a10b24fffcdeadf2dff859699409 (diff)
downloadcolobot-538745a731d07facd7a1574c04a5d34d23ce3bfa.tar.gz
colobot-538745a731d07facd7a1574c04a5d34d23ce3bfa.tar.bz2
colobot-538745a731d07facd7a1574c04a5d34d23ce3bfa.zip
Fixed some compilation warnings
* fixed warnings about hiding virtual functions and several others
Diffstat (limited to 'src/object/auto/autojostle.h')
-rw-r--r--src/object/auto/autojostle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/object/auto/autojostle.h b/src/object/auto/autojostle.h
index 7b700ad..3822421 100644
--- a/src/object/auto/autojostle.h
+++ b/src/object/auto/autojostle.h
@@ -37,7 +37,9 @@ public:
bool EventProcess(const Event &event);
Error IsEnded();
-protected:
+private:
+ // Overriden to avoid warning about hiding virtual function
+ virtual void Start(int param) override;
protected:
float m_force;