summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
commit00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch)
treeee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/gui/widgets/tabs/chat
parent1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff)
downloadplus-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/gui/widgets/tabs/chat')
-rw-r--r--src/gui/widgets/tabs/chat/battletab.h2
-rw-r--r--src/gui/widgets/tabs/chat/channeltab.h2
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h2
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.h2
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.h2
-rw-r--r--src/gui/widgets/tabs/chat/guildtab.h2
-rw-r--r--src/gui/widgets/tabs/chat/langtab.h2
-rw-r--r--src/gui/widgets/tabs/chat/partytab.h2
-rw-r--r--src/gui/widgets/tabs/chat/tradetab.h2
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.h2
10 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/tabs/chat/battletab.h b/src/gui/widgets/tabs/chat/battletab.h
index 24f69c8b9..e8cdacd65 100644
--- a/src/gui/widgets/tabs/chat/battletab.h
+++ b/src/gui/widgets/tabs/chat/battletab.h
@@ -35,7 +35,7 @@ class BattleTab final : public ChatTab
A_DELETE_COPY(BattleTab)
- ~BattleTab();
+ ~BattleTab() override final;
};
extern BattleTab *battleChatTab;
diff --git a/src/gui/widgets/tabs/chat/channeltab.h b/src/gui/widgets/tabs/chat/channeltab.h
index 3ac51e59d..2f0517684 100644
--- a/src/gui/widgets/tabs/chat/channeltab.h
+++ b/src/gui/widgets/tabs/chat/channeltab.h
@@ -36,7 +36,7 @@ class ChannelTab final : public ChatTab
A_DELETE_COPY(ChannelTab)
- ~ChannelTab();
+ ~ChannelTab() override final;
protected:
void handleInput(const std::string &msg) override final;
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index aeefe43db..088977631 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -72,7 +72,7 @@ class ChatTab notfinal : public Tab
A_DELETE_COPY(ChatTab)
- virtual ~ChatTab();
+ ~ChatTab() override;
/**
* Adds a line of text to our message list. Parameters:
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.h b/src/gui/widgets/tabs/chat/emulateguildtab.h
index 3cf3a0e59..fbe8aab00 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.h
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.h
@@ -38,7 +38,7 @@ class EmulateGuildTab final : public ChatTab,
A_DELETE_COPY(EmulateGuildTab)
- ~EmulateGuildTab();
+ ~EmulateGuildTab() override final;
bool handleCommand(const std::string &restrict type,
const std::string &restrict args) override final;
diff --git a/src/gui/widgets/tabs/chat/gmtab.h b/src/gui/widgets/tabs/chat/gmtab.h
index a8dd46fd3..609f9da75 100644
--- a/src/gui/widgets/tabs/chat/gmtab.h
+++ b/src/gui/widgets/tabs/chat/gmtab.h
@@ -33,7 +33,7 @@ class GmTab final : public ChatTab
A_DELETE_COPY(GmTab)
- ~GmTab();
+ ~GmTab() override final;
protected:
void getAutoCompleteList(StringVect &names) const
diff --git a/src/gui/widgets/tabs/chat/guildtab.h b/src/gui/widgets/tabs/chat/guildtab.h
index 5aa540ecb..95142c682 100644
--- a/src/gui/widgets/tabs/chat/guildtab.h
+++ b/src/gui/widgets/tabs/chat/guildtab.h
@@ -36,7 +36,7 @@ class GuildTab notfinal : public ChatTab,
A_DELETE_COPY(GuildTab)
- virtual ~GuildTab();
+ ~GuildTab() override final;
bool handleCommand(const std::string &restrict type,
const std::string &restrict args) override final;
diff --git a/src/gui/widgets/tabs/chat/langtab.h b/src/gui/widgets/tabs/chat/langtab.h
index 773431e85..44173c653 100644
--- a/src/gui/widgets/tabs/chat/langtab.h
+++ b/src/gui/widgets/tabs/chat/langtab.h
@@ -31,7 +31,7 @@ class LangTab final : public ChatTab
A_DELETE_COPY(LangTab)
- ~LangTab();
+ ~LangTab() override final;
};
extern LangTab *langChatTab;
diff --git a/src/gui/widgets/tabs/chat/partytab.h b/src/gui/widgets/tabs/chat/partytab.h
index a987c9362..71de2395f 100644
--- a/src/gui/widgets/tabs/chat/partytab.h
+++ b/src/gui/widgets/tabs/chat/partytab.h
@@ -36,7 +36,7 @@ class PartyTab notfinal : public ChatTab,
A_DELETE_COPY(PartyTab)
- virtual ~PartyTab();
+ ~PartyTab() override;
bool handleCommand(const std::string &restrict type,
const std::string &restrict args) override final;
diff --git a/src/gui/widgets/tabs/chat/tradetab.h b/src/gui/widgets/tabs/chat/tradetab.h
index 26c9bf8f6..ef0f8f7cb 100644
--- a/src/gui/widgets/tabs/chat/tradetab.h
+++ b/src/gui/widgets/tabs/chat/tradetab.h
@@ -35,7 +35,7 @@ class TradeTab final : public ChatTab
A_DELETE_COPY(TradeTab)
- ~TradeTab();
+ ~TradeTab() override final;
protected:
void handleInput(const std::string &msg) override final;
diff --git a/src/gui/widgets/tabs/chat/whispertab.h b/src/gui/widgets/tabs/chat/whispertab.h
index 1d3c03857..53ad98b6f 100644
--- a/src/gui/widgets/tabs/chat/whispertab.h
+++ b/src/gui/widgets/tabs/chat/whispertab.h
@@ -60,7 +60,7 @@ class WhisperTab final : public ChatTab
const std::string &caption,
const std::string &nick);
- ~WhisperTab();
+ ~WhisperTab() override final;
void handleInput(const std::string &msg) override final;