From 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 02:34:48 +0300 Subject: Add override keyword to most overriden methods. --- src/particlecontainer.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/particlecontainer.h') 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 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 mIndexedElements; -- cgit v1.2.3-60-g2f50