diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 02:34:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:22:21 +0300 |
commit | 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch) | |
tree | 7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/whoisonline.h | |
parent | 3dcf21babe03cee5080a25e787e1d7e72124288e (diff) | |
download | manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2 manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz manaverse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip |
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/whoisonline.h')
-rw-r--r-- | src/gui/whoisonline.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h index 35565930e..4e0638ef1 100644 --- a/src/gui/whoisonline.h +++ b/src/gui/whoisonline.h @@ -129,15 +129,15 @@ public: void loadList(std::vector<OnlinePlayer*> &list); - void handleLink(const std::string& link, gcn::MouseEvent *event); + void handleLink(const std::string& link, gcn::MouseEvent *event) override; - void logic(); + void logic() override; void slowLogic(); - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; - void widgetResized(const gcn::Event &event); + void widgetResized(const gcn::Event &event) override; const std::set<OnlinePlayer*> &getOnlinePlayers() const { return mOnlinePlayers; } @@ -148,7 +148,7 @@ public: void setAllowUpdate(const bool n) { mAllowUpdate = n; } - void optionChanged(const std::string &name); + void optionChanged(const std::string &name) override; void updateList(StringVect &list); |