summaryrefslogtreecommitdiff
path: root/src/particle/particlecontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 13:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 14:41:36 +0300
commit851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch)
tree50096efbfea146de63432ca95d1faacdbd62df80 /src/particle/particlecontainer.h
parent476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff)
downloadmanaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip
remove useless virtual keywords.
Diffstat (limited to 'src/particle/particlecontainer.h')
-rw-r--r--src/particle/particlecontainer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/particle/particlecontainer.h b/src/particle/particlecontainer.h
index a348f4cef..a8921a942 100644
--- a/src/particle/particlecontainer.h
+++ b/src/particle/particlecontainer.h
@@ -83,7 +83,7 @@ public:
A_DELETE_COPY(ParticleList)
- virtual ~ParticleList();
+ ~ParticleList();
/**
* Takes control of and adds a particle
@@ -95,9 +95,9 @@ public:
*/
void removeLocally(const Particle *const particle);
- virtual void clearLocally() override;
+ void clearLocally() override;
- virtual void moveTo(const float x, const float y) override;
+ void moveTo(const float x, const float y) override;
protected:
std::list<Particle *> mElements; /**< Contained particle effects */
@@ -114,22 +114,22 @@ public:
A_DELETE_COPY(ParticleVector)
- virtual ~ParticleVector();
+ ~ParticleVector();
/**
* Sets a particle at a specified index. Kills the previous particle
* there, if needed.
*/
- virtual void setLocally(const int index, Particle *const particle);
+ void setLocally(const int index, Particle *const particle);
/**
* Removes a particle at a specified index
*/
- virtual void delLocally(const int index);
+ void delLocally(const int index);
- virtual void clearLocally() override;
+ void clearLocally() override;
- virtual void moveTo(const float x, const float y) override;
+ void moveTo(const float x, const float y) override;
protected:
std::vector<Particle *> mIndexedElements;