From dba0611175c8d4a56dfbc918ccef139351e5c3e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 23:06:06 +0300 Subject: Revert "Remove override keyword, if it present with final." This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d. --- src/gui/widgets/playerbox.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/widgets/playerbox.h') diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h index 243ecbd94..1a122fbbd 100644 --- a/src/gui/widgets/playerbox.h +++ b/src/gui/widgets/playerbox.h @@ -76,16 +76,16 @@ class PlayerBox final : public Widget, /** * Draws the scroll area. */ - void draw(Graphics *const graphics) final A_NONNULL(2); + void draw(Graphics *const graphics) override final A_NONNULL(2); - void safeDraw(Graphics *const graphics) final A_NONNULL(2); + void safeDraw(Graphics *const graphics) override final A_NONNULL(2); /** * Draws the background and border of the scroll area. */ - void drawFrame(Graphics *const graphics) final A_NONNULL(2); + void drawFrame(Graphics *const graphics) override final A_NONNULL(2); - void safeDrawFrame(Graphics *const graphics) final + void safeDrawFrame(Graphics *const graphics) override final A_NONNULL(2); Being *getBeing() A_WARN_UNUSED @@ -94,7 +94,7 @@ class PlayerBox final : public Widget, void setSelected(bool b) { mSelected = b; } - void mouseReleased(MouseEvent& event) final; + void mouseReleased(MouseEvent& event) override final; private: Being *mBeing; -- cgit v1.2.3-60-g2f50