diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
commit | 67a349cefcb72c7770b98bf645a7eca35695bb2b (patch) | |
tree | 07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/shopitems.h | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/shopitems.h')
-rw-r--r-- | src/gui/widgets/shopitems.h | 4 |
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. |