diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
commit | 10be802d2640bad75222736216cdcfcd7fb6a521 (patch) | |
tree | 5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/itemamountwindow.cpp | |
parent | 67a349cefcb72c7770b98bf645a7eca35695bb2b (diff) | |
download | manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2 manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.zip |
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/itemamountwindow.cpp')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 6fd813183..9800379b1 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -84,12 +84,12 @@ public: ~ItemsModal() { } - int getNumberOfElements() override + int getNumberOfElements() override final { return static_cast<int>(mStrings.size()); } - std::string getElementAt(int i) override + std::string getElementAt(int i) override final { if (i < 0 || i >= getNumberOfElements()) return "???"; |