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/net/ea | |
parent | 1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff) | |
download | plus-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/net/ea')
-rw-r--r-- | src/net/ea/adminhandler.h | 2 | ||||
-rw-r--r-- | src/net/ea/charserverhandler.h | 2 | ||||
-rw-r--r-- | src/net/ea/chathandler.h | 2 | ||||
-rw-r--r-- | src/net/ea/inventoryhandler.h | 2 | ||||
-rw-r--r-- | src/net/ea/loginhandler.h | 2 | ||||
-rw-r--r-- | src/net/ea/partyhandler.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h index f300fda55..a4e2d7b68 100644 --- a/src/net/ea/adminhandler.h +++ b/src/net/ea/adminhandler.h @@ -38,7 +38,7 @@ class AdminHandler notfinal : public Net::AdminHandler A_DELETE_COPY(AdminHandler) - virtual ~AdminHandler() + ~AdminHandler() override { } void kickName(const std::string &name) const override final; diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h index 1faa59403..e3a377645 100644 --- a/src/net/ea/charserverhandler.h +++ b/src/net/ea/charserverhandler.h @@ -36,7 +36,7 @@ class CharServerHandler notfinal : public Net::CharServerHandler public: A_DELETE_COPY(CharServerHandler) - ~CharServerHandler(); + ~CharServerHandler() override; void setCharSelectDialog(CharSelectDialog *const window) const override final; diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index b19105193..1053be26f 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -39,7 +39,7 @@ class ChatHandler notfinal : public Net::ChatHandler A_DELETE_COPY(ChatHandler) - ~ChatHandler(); + ~ChatHandler() override; void me(const std::string &restrict text, const std::string &restrict channel) const override final; diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index f968a3216..0df7fc793 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -39,7 +39,7 @@ class InventoryHandler notfinal : public Net::InventoryHandler public: A_DELETE_COPY(InventoryHandler) - virtual ~InventoryHandler(); + ~InventoryHandler() override; void clear() const override final; diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index d475fc184..320f914ac 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -37,7 +37,7 @@ class LoginHandler notfinal : public Net::LoginHandler public: A_DELETE_COPY(LoginHandler) - virtual ~LoginHandler(); + ~LoginHandler() override; bool isRegistrationEnabled() const override final A_WARN_UNUSED; diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 2be323d85..2b74cd4d6 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -35,7 +35,7 @@ class PartyHandler notfinal : public Net::PartyHandler A_DELETE_COPY(PartyHandler) - virtual ~PartyHandler(); + ~PartyHandler() override; void join(const int partyId) const override final A_CONST; |