From d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:17 +0300 Subject: add final keyword to gui files. --- src/gui/popups/popupmenu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/popups/popupmenu.h') diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index 41c976c6e..56ecb860b 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -54,7 +54,7 @@ class RenameListener final : public gcn::ActionListener A_DELETE_COPY(RenameListener) - void action(const gcn::ActionEvent &event) override; + void action(const gcn::ActionEvent &event) override final; void setMapItem(MapItem *const mapItem); @@ -74,7 +74,7 @@ class PlayerListener : public gcn::ActionListener A_DELETE_COPY(PlayerListener) - void action(const gcn::ActionEvent &event) override; + void action(const gcn::ActionEvent &event) override final; void setNick(std::string name) { mNick = name; } @@ -104,7 +104,7 @@ class PopupMenu final : public Popup, public LinkHandler A_DELETE_COPY(PopupMenu) - void postInit() override; + void postInit() override final; /** * Shows the being related popup menu at the specified mouse coords. @@ -187,7 +187,7 @@ class PopupMenu final : public Popup, public LinkHandler * Handles link action. */ void handleLink(const std::string &link, - gcn::MouseEvent *event A_UNUSED) override; + gcn::MouseEvent *event A_UNUSED) override final; void clear(); -- cgit v1.2.3-60-g2f50