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/gui/whoisonline.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/whoisonline.h') 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 &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 &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); -- cgit v1.2.3-60-g2f50