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/shoplistbox.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/widgets/shoplistbox.h') diff --git a/src/gui/widgets/shoplistbox.h b/src/gui/widgets/shoplistbox.h index ce29c0247..cc4504c82 100644 --- a/src/gui/widgets/shoplistbox.h +++ b/src/gui/widgets/shoplistbox.h @@ -55,9 +55,9 @@ class ShopListBox final : public ListBox /** * Draws the list box. */ - 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); /** * gives information about the current player's money @@ -67,7 +67,7 @@ class ShopListBox final : public ListBox /** * Adjust List draw size */ - void adjustSize() final; + void adjustSize() override final; /** * Set on/off the disabling of too expensive items. @@ -75,11 +75,11 @@ class ShopListBox final : public ListBox */ void setPriceCheck(const bool check); - void mouseMoved(MouseEvent &event) final; + void mouseMoved(MouseEvent &event) override final; - void mouseReleased(MouseEvent& event) final; + void mouseReleased(MouseEvent& event) override final; - void mouseExited(MouseEvent& event) final; + void mouseExited(MouseEvent& event) override final; void setProtectItems(bool p) { mProtectItems = p; } -- cgit v1.2.3-60-g2f50