summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
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/tmwa')
-rw-r--r--src/net/tmwa/gui/partytab.h2
-rw-r--r--src/net/tmwa/messagehandler.h2
2 files changed, 2 insertions, 2 deletions
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);