summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
commit00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch)
treeee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/particle
parent1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff)
downloadmanaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.gz
manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.bz2
manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.xz
manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.zip
Add missing override and final to destructors.
Also remove some empty destructors.
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.h2
-rw-r--r--src/particle/particlelist.h2
-rw-r--r--src/particle/particlevector.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h
index 4ec3b29c2..03f6eb847 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -53,7 +53,7 @@ class Particle notfinal : public Actor
/**
* Destructor.
*/
- virtual ~Particle();
+ ~Particle() override;
/**
* Deletes all child particles and emitters.
diff --git a/src/particle/particlelist.h b/src/particle/particlelist.h
index 6a1b09afd..a370b5569 100644
--- a/src/particle/particlelist.h
+++ b/src/particle/particlelist.h
@@ -42,7 +42,7 @@ class ParticleList final : public ParticleContainer
A_DELETE_COPY(ParticleList)
- ~ParticleList();
+ ~ParticleList() override final;
/**
* Takes control of and adds a particle
diff --git a/src/particle/particlevector.h b/src/particle/particlevector.h
index ab0c886a8..d7a0be27c 100644
--- a/src/particle/particlevector.h
+++ b/src/particle/particlevector.h
@@ -42,7 +42,7 @@ class ParticleVector final : public ParticleContainer
A_DELETE_COPY(ParticleVector)
- ~ParticleVector();
+ ~ParticleVector() override final;
/**
* Sets a particle at a specified index. Kills the previous particle