diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
commit | 45f77fd60f71322b288a4497dea5b583b2692613 (patch) | |
tree | 5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/particle | |
parent | d2e744dab8c38ef56184251fe96293fa0f51fb9f (diff) | |
download | mv-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz mv-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2 mv-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz mv-45f77fd60f71322b288a4497dea5b583b2692613.zip |
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/imageparticle.h | 2 | ||||
-rw-r--r-- | src/particle/particle.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h index 9217417fd..7c768525d 100644 --- a/src/particle/imageparticle.h +++ b/src/particle/imageparticle.h @@ -49,7 +49,7 @@ class ImageParticle : public Particle /** * Destructor. */ - ~ImageParticle(); + virtual ~ImageParticle(); /** * Draws the particle image diff --git a/src/particle/particle.h b/src/particle/particle.h index 4a95edd68..dd89e717e 100644 --- a/src/particle/particle.h +++ b/src/particle/particle.h @@ -84,7 +84,7 @@ class Particle : public Actor /** * Destructor. */ - ~Particle(); + virtual ~Particle(); /** * Deletes all child particles and emitters. |