From 45f77fd60f71322b288a4497dea5b583b2692613 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 12:42:21 +0300 Subject: Change destructors to virtual in all basic classes. Also add some missing final to classes. --- src/net/tmwa/gui/partytab.h | 2 +- src/net/tmwa/messagehandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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); -- cgit v1.2.3-70-g09d2