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/popupmenu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/popupmenu.h') diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h index 3ce363a34..b797138be 100644 --- a/src/gui/popupmenu.h +++ b/src/gui/popupmenu.h @@ -50,7 +50,7 @@ class RenameListener final : public gcn::ActionListener public: RenameListener(); - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; void setMapItem(MapItem* mapItem) { mMapItem = mapItem; } @@ -68,7 +68,7 @@ class PlayerListener : public gcn::ActionListener public: PlayerListener(); - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; void setNick(std::string name) { mNick = name; } @@ -163,7 +163,7 @@ class PopupMenu final : public Popup, public LinkHandler * Handles link action. */ void handleLink(const std::string &link, - gcn::MouseEvent *event A_UNUSED); + gcn::MouseEvent *event A_UNUSED) override; private: void addPlayerRelation(std::string name); -- cgit v1.2.3-60-g2f50