summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
commit45f77fd60f71322b288a4497dea5b583b2692613 (patch)
tree5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/net/ea
parentd2e744dab8c38ef56184251fe96293fa0f51fb9f (diff)
downloadmv-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz
mv-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2
mv-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz
mv-45f77fd60f71322b288a4497dea5b583b2692613.zip
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/gui/guildtab.h2
-rw-r--r--src/net/ea/gui/partytab.h2
-rw-r--r--src/net/ea/guildhandler.h2
-rw-r--r--src/net/ea/inventoryhandler.h2
-rw-r--r--src/net/ea/loginhandler.h2
-rw-r--r--src/net/ea/partyhandler.h2
6 files changed, 6 insertions, 6 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;