summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 23:06:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 23:06:56 +0300
commitdba0611175c8d4a56dfbc918ccef139351e5c3e0 (patch)
treeb3c7a5684604facc0f0f5656fe373958c53dc5ad /src/gui/windowmenu.h
parent53530f76275df76406a9ce438a33df78c50d0948 (diff)
downloadmanaverse-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.gz
manaverse-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.bz2
manaverse-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.xz
manaverse-dba0611175c8d4a56dfbc918ccef139351e5c3e0.zip
Revert "Remove override keyword, if it present with final."
This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 70d731b83..cf9d701f7 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -57,13 +57,13 @@ class WindowMenu final : public Container,
~WindowMenu();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseExited(MouseEvent& event A_UNUSED) final;
+ void mouseExited(MouseEvent& event A_UNUSED) override final;
std::map <std::string, ButtonInfo*> &getButtonNames() A_WARN_UNUSED
{ return mButtonNames; }
@@ -80,17 +80,17 @@ class WindowMenu final : public Container,
void saveButtons() const;
- void optionChanged(const std::string &name) final;
+ void optionChanged(const std::string &name) override final;
#ifdef USE_PROFILER
void logicChildren();
#endif
protected:
- void drawChildren(Graphics *const graphics) final
+ void drawChildren(Graphics *const graphics) override final
A_NONNULL(2);
- void safeDrawChildren(Graphics *const graphics) final
+ void safeDrawChildren(Graphics *const graphics) override final
A_NONNULL(2);
private: