summaryrefslogtreecommitdiff
path: root/src/resources/image
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/image
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/resources/image')
-rw-r--r--src/resources/image/image.h2
-rw-r--r--src/resources/image/subimage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/image/image.h b/src/resources/image/image.h
index d3a6d5aac..ee15f33bd 100644
--- a/src/resources/image/image.h
+++ b/src/resources/image/image.h
@@ -97,7 +97,7 @@ class Image notfinal : public Resource
/**
* Destructor.
*/
- virtual ~Image();
+ ~Image() override;
/**
* Frees the resources created by SDL.
diff --git a/src/resources/image/subimage.h b/src/resources/image/subimage.h
index 6f0b2e11b..6994fc8f5 100644
--- a/src/resources/image/subimage.h
+++ b/src/resources/image/subimage.h
@@ -54,7 +54,7 @@ class SubImage final : public Image
/**
* Destructor.
*/
- ~SubImage();
+ ~SubImage() override final;
/**
* Creates a new image with the desired clipping rectangle.