diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
commit | 45f77fd60f71322b288a4497dea5b583b2692613 (patch) | |
tree | 5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/net | |
parent | d2e744dab8c38ef56184251fe96293fa0f51fb9f (diff) | |
download | plus-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz plus-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2 plus-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz plus-45f77fd60f71322b288a4497dea5b583b2692613.zip |
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gui/guildtab.h | 2 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 2 | ||||
-rw-r--r-- | src/net/ea/guildhandler.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 | ||||
-rw-r--r-- | src/net/eathena/messagehandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/gui/partytab.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/messagehandler.h | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index f5230615f..8bf9bc1eb 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -38,7 +38,7 @@ class GuildTab : public ChatTab, public ConfigListener A_DELETE_COPY(GuildTab) - ~GuildTab(); + virtual ~GuildTab(); bool handleCommand(const std::string &type, const std::string &args) override; diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index 0f6613094..31e5864fd 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -38,7 +38,7 @@ class PartyTab : public ChatTab, public ConfigListener A_DELETE_COPY(PartyTab) - ~PartyTab(); + virtual ~PartyTab(); void showHelp() override; diff --git a/src/net/ea/guildhandler.h b/src/net/ea/guildhandler.h index 717641956..40d6bc8ae 100644 --- a/src/net/ea/guildhandler.h +++ b/src/net/ea/guildhandler.h @@ -37,7 +37,7 @@ class GuildHandler : public Net::GuildHandler A_DELETE_COPY(GuildHandler) - ~GuildHandler(); + virtual ~GuildHandler(); void requestAlliance(const int guildId, const int otherGuildId) const override; diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index fa255e213..d4dbbbd54 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -148,7 +148,7 @@ class InventoryHandler : public Net::InventoryHandler A_DELETE_COPY(InventoryHandler) - ~InventoryHandler(); + virtual ~InventoryHandler(); void clear(); diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index 05d819ffe..994029247 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -40,7 +40,7 @@ class LoginHandler : public Net::LoginHandler public: A_DELETE_COPY(LoginHandler) - ~LoginHandler(); + virtual ~LoginHandler(); int supportedOptionalActions() const override A_WARN_UNUSED { return SetGenderOnRegister; } diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index ced44a426..160080215 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -39,7 +39,7 @@ class PartyHandler : public Net::PartyHandler A_DELETE_COPY(PartyHandler) - ~PartyHandler(); + virtual ~PartyHandler(); void join(const int partyId) const override; diff --git a/src/net/eathena/messagehandler.h b/src/net/eathena/messagehandler.h index ade96baba..fb2178d72 100644 --- a/src/net/eathena/messagehandler.h +++ b/src/net/eathena/messagehandler.h @@ -42,7 +42,7 @@ class MessageHandler : public Net::MessageHandler A_DELETE_COPY(MessageHandler) - ~MessageHandler(); + virtual ~MessageHandler(); void setNetwork(Network *const network); diff --git a/src/net/tmwa/gui/partytab.h b/src/net/tmwa/gui/partytab.h index 7fa1e55fc..28d9f1cb7 100644 --- a/src/net/tmwa/gui/partytab.h +++ b/src/net/tmwa/gui/partytab.h @@ -31,7 +31,7 @@ namespace TmwAthena /** * A tab for a party chat channel. */ -class PartyTab : public Ea::PartyTab +class PartyTab final : public Ea::PartyTab { public: explicit PartyTab(const Widget2 *const widget); diff --git a/src/net/tmwa/messagehandler.h b/src/net/tmwa/messagehandler.h index 4cdc46119..77494d30f 100644 --- a/src/net/tmwa/messagehandler.h +++ b/src/net/tmwa/messagehandler.h @@ -42,7 +42,7 @@ class MessageHandler : public Net::MessageHandler A_DELETE_COPY(MessageHandler) - ~MessageHandler(); + virtual ~MessageHandler(); void setNetwork(Network *const network); |