diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 13:54:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 14:41:36 +0300 |
commit | 851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch) | |
tree | 50096efbfea146de63432ca95d1faacdbd62df80 /src/gui/itemamountwindow.cpp | |
parent | 476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff) | |
download | manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2 manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip |
remove useless virtual keywords.
Diffstat (limited to 'src/gui/itemamountwindow.cpp')
-rw-r--r-- | src/gui/itemamountwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp index e9a178b02..1fd15e351 100644 --- a/src/gui/itemamountwindow.cpp +++ b/src/gui/itemamountwindow.cpp @@ -79,15 +79,15 @@ public: A_DELETE_COPY(ItemsModal) - virtual ~ItemsModal() + ~ItemsModal() { } - virtual int getNumberOfElements() override + int getNumberOfElements() override { return static_cast<int>(mStrings.size()); } - virtual std::string getElementAt(int i) override + std::string getElementAt(int i) override { if (i < 0 || i >= getNumberOfElements()) return "???"; |