From 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 02:34:48 +0300 Subject: Add override keyword to most overriden methods. --- src/net/ea/gui/guildtab.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/net/ea/gui/guildtab.h') diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 6ccf70903..07b9831ec 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -38,21 +38,22 @@ class GuildTab : public ChatTab ~GuildTab(); - bool handleCommand(const std::string &type, const std::string &args); + bool handleCommand(const std::string &type, + const std::string &args) override; - void showHelp(); + void showHelp() override; - void saveToLogFile(std::string &msg); + void saveToLogFile(std::string &msg) override; - int getType() const + int getType() const override { return ChatTab::TAB_GUILD; } - void playNewMessageSound(); + void playNewMessageSound() override; protected: - void handleInput(const std::string &msg); + void handleInput(const std::string &msg) override; - void getAutoCompleteList(StringVect &names) const; + void getAutoCompleteList(StringVect &names) const override; }; } // namespace Ea -- cgit v1.2.3-60-g2f50