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/inventorywindow.cpp | |
parent | 476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff) | |
download | plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2 plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip |
remove useless virtual keywords.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index a1c4287c8..f8b688dee 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -82,13 +82,13 @@ static const char *const SORT_NAME_INVENTORY[6] = class SortListModelInv final : public gcn::ListModel { public: - virtual ~SortListModelInv() + ~SortListModelInv() { } - virtual int getNumberOfElements() override + int getNumberOfElements() override { return 6; } - virtual std::string getElementAt(int i) override + std::string getElementAt(int i) override { if (i >= getNumberOfElements() || i < 0) return "???"; |