diff options
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 "???"; |