summaryrefslogtreecommitdiff
path: root/src/particlecontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 02:34:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:22:21 +0300
commit4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch)
tree7a2bbae95b5f6642731f2a1257913baad71d028d /src/particlecontainer.h
parent3dcf21babe03cee5080a25e787e1d7e72124288e (diff)
downloadmanaverse-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.h9
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;