summaryrefslogtreecommitdiff
path: root/src/resources/sprite
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/resources/sprite
parent1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff)
downloadplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.gz
plus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.bz2
plus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.xz
plus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.zip
Add missing override and final to destructors.
Also remove some empty destructors.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r--src/resources/sprite/animatedsprite.h2
-rw-r--r--src/resources/sprite/imagesprite.h2
-rw-r--r--src/resources/sprite/spritedef.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/sprite/animatedsprite.h b/src/resources/sprite/animatedsprite.h
index e45ffd34e..d5cf8317b 100644
--- a/src/resources/sprite/animatedsprite.h
+++ b/src/resources/sprite/animatedsprite.h
@@ -60,7 +60,7 @@ class AnimatedSprite final : public Sprite
static AnimatedSprite *clone(const AnimatedSprite *restrict const
anim);
- ~AnimatedSprite();
+ ~AnimatedSprite() override final;
bool reset() restrict2 override final;
diff --git a/src/resources/sprite/imagesprite.h b/src/resources/sprite/imagesprite.h
index 9576933d1..1e224ee6c 100644
--- a/src/resources/sprite/imagesprite.h
+++ b/src/resources/sprite/imagesprite.h
@@ -35,7 +35,7 @@ class ImageSprite final : public Sprite
A_DELETE_COPY(ImageSprite)
- ~ImageSprite();
+ ~ImageSprite() override final;
bool reset() override final
{ return false; }
diff --git a/src/resources/sprite/spritedef.h b/src/resources/sprite/spritedef.h
index b2fceb2be..3e72691a6 100644
--- a/src/resources/sprite/spritedef.h
+++ b/src/resources/sprite/spritedef.h
@@ -95,7 +95,7 @@ class SpriteDef final : public Resource
/**
* Destructor.
*/
- ~SpriteDef();
+ ~SpriteDef() override final;
/**
* Loads a sprite element.