summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
commit45f77fd60f71322b288a4497dea5b583b2692613 (patch)
tree5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/particle
parentd2e744dab8c38ef56184251fe96293fa0f51fb9f (diff)
downloadmanaplus-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz
manaplus-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2
manaplus-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz
manaplus-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.h2
-rw-r--r--src/particle/particle.h2
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.