diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
commit | 00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch) | |
tree | ee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/progs | |
parent | 1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff) | |
download | ManaVerse-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.gz ManaVerse-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.bz2 ManaVerse-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.xz ManaVerse-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.h | 2 | ||||
-rw-r--r-- | src/progs/dyecmd/gui/viewport.h | 2 | ||||
-rw-r--r-- | src/progs/manaplus/client.h | 2 | ||||
-rw-r--r-- | src/progs/manaplus/gui/viewport.h | 2 |
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. |