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/models/shopitems.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models/shopitems.h') diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h index ddba1d1b0..0aedce83f 100644 --- a/src/gui/models/shopitems.h +++ b/src/gui/models/shopitems.h @@ -93,7 +93,7 @@ class ShopItems final : public ListModel /** * Returns the number of items in the shop. */ - int getNumberOfElements() final A_WARN_UNUSED + int getNumberOfElements() override final A_WARN_UNUSED { return CAST_S32(mShopItems.size()); } bool empty() const A_WARN_UNUSED @@ -104,7 +104,7 @@ class ShopItems final : public ListModel * * @param i the index to retrieve */ - std::string getElementAt(int i) final A_WARN_UNUSED; + std::string getElementAt(int i) override final A_WARN_UNUSED; /** * Returns the item number i in the shop. -- cgit v1.2.3-70-g09d2