summaryrefslogtreecommitdiff
path: root/src/progs
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/progs
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/progs')
-rw-r--r--src/progs/dyecmd/client.h2
-rw-r--r--src/progs/dyecmd/gui/viewport.h2
-rw-r--r--src/progs/manaplus/client.h2
-rw-r--r--src/progs/manaplus/gui/viewport.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/dyecmd/client.h b/src/progs/dyecmd/client.h
index 96d230c60..08406ce64 100644
--- a/src/progs/dyecmd/client.h
+++ b/src/progs/dyecmd/client.h
@@ -52,7 +52,7 @@ class Client final : public ActionListener
A_DELETE_COPY(Client)
- ~Client();
+ ~Client() override final;
void gameInit();
diff --git a/src/progs/dyecmd/gui/viewport.h b/src/progs/dyecmd/gui/viewport.h
index 756715afb..07b86b145 100644
--- a/src/progs/dyecmd/gui/viewport.h
+++ b/src/progs/dyecmd/gui/viewport.h
@@ -55,7 +55,7 @@ class Viewport final : public WindowContainer,
/**
* Destructor.
*/
- ~Viewport();
+ ~Viewport() override final;
/**
* Sets the map displayed by the viewport.
diff --git a/src/progs/manaplus/client.h b/src/progs/manaplus/client.h
index af537bb68..df8a26c50 100644
--- a/src/progs/manaplus/client.h
+++ b/src/progs/manaplus/client.h
@@ -60,7 +60,7 @@ class Client final : public ConfigListener,
A_DELETE_COPY(Client)
- ~Client();
+ ~Client() override final;
void gameInit();
diff --git a/src/progs/manaplus/gui/viewport.h b/src/progs/manaplus/gui/viewport.h
index ea12776c1..f425f4380 100644
--- a/src/progs/manaplus/gui/viewport.h
+++ b/src/progs/manaplus/gui/viewport.h
@@ -57,7 +57,7 @@ class Viewport final : public WindowContainer,
/**
* Destructor.
*/
- ~Viewport();
+ ~Viewport() override final;
/**
* Sets the map displayed by the viewport.