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/windowmenu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/windowmenu.h') diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index 8519a17ba..2fbd3a0c8 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -88,13 +88,13 @@ class WindowMenu final : public Container, ~WindowMenu(); - void action(const gcn::ActionEvent &event) override; + void action(const gcn::ActionEvent &event) override final; - void mousePressed(gcn::MouseEvent &event) override; + void mousePressed(gcn::MouseEvent &event) override final; - void mouseMoved(gcn::MouseEvent &event) override; + void mouseMoved(gcn::MouseEvent &event) override final; - void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED) override; + void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED) override final; std::map &getButtonNames() A_WARN_UNUSED { return mButtonNames; } @@ -111,14 +111,14 @@ class WindowMenu final : public Container, void saveButtons() const; - void optionChanged(const std::string &name) override; + void optionChanged(const std::string &name) override final; #ifdef USE_PROFILER void logicChildren(); #endif protected: - void drawChildren(gcn::Graphics* graphics) override; + void drawChildren(gcn::Graphics* graphics) override final; private: inline void addButton(const char *const text, -- cgit v1.2.3-60-g2f50