summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shopitems.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shopitems.h')
-rw-r--r--src/gui/widgets/shopitems.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/shopitems.h b/src/gui/widgets/shopitems.h
index c3ce2ff4b..219ada7cd 100644
--- a/src/gui/widgets/shopitems.h
+++ b/src/gui/widgets/shopitems.h
@@ -81,7 +81,7 @@ class ShopItems final : public gcn::ListModel
/**
* Returns the number of items in the shop.
*/
- int getNumberOfElements() override A_WARN_UNUSED
+ int getNumberOfElements() override final A_WARN_UNUSED
{ return static_cast<int>(mShopItems.size()); }
bool empty() const A_WARN_UNUSED
@@ -92,7 +92,7 @@ class ShopItems final : public gcn::ListModel
*
* @param i the index to retrieve
*/
- std::string getElementAt(int i) override A_WARN_UNUSED;
+ std::string getElementAt(int i) override final A_WARN_UNUSED;
/**
* Returns the item number i in the shop.