diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 02:34:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:22:21 +0300 |
commit | 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch) | |
tree | 7a2bbae95b5f6642731f2a1257913baad71d028d /src/particlecontainer.h | |
parent | 3dcf21babe03cee5080a25e787e1d7e72124288e (diff) | |
download | manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2 manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip |
Add override keyword to most overriden methods.
Diffstat (limited to 'src/particlecontainer.h')
-rw-r--r-- | src/particlecontainer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/particlecontainer.h b/src/particlecontainer.h index 0f1480094..a40bf1ce9 100644 --- a/src/particlecontainer.h +++ b/src/particlecontainer.h @@ -90,9 +90,9 @@ public: */ void removeLocally(const Particle *const particle); - virtual void clearLocally(); + virtual void clearLocally() override; - virtual void moveTo(const float x, const float y); + virtual void moveTo(const float x, const float y) override; protected: std::list<Particle *> mElements; /**< Contained particle effects */ @@ -120,8 +120,9 @@ public: */ virtual void delLocally(const int index); - virtual void clearLocally(); - virtual void moveTo(const float x, const float y); + virtual void clearLocally() override; + + virtual void moveTo(const float x, const float y) override; protected: std::vector<Particle *> mIndexedElements; |