From dba0611175c8d4a56dfbc918ccef139351e5c3e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 23:06:06 +0300 Subject: Revert "Remove override keyword, if it present with final." This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d. --- src/net/ea/inventoryhandler.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/net/ea/inventoryhandler.h') diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 959e91bb5..98a617c83 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -41,27 +41,27 @@ class InventoryHandler notfinal : public Net::InventoryHandler virtual ~InventoryHandler(); - void clear() const final; + void clear() const override final; bool canSplit(const Item *const item) const - final A_CONST A_WARN_UNUSED; + override final A_CONST A_WARN_UNUSED; void splitItem(const Item *const item, - const int amount) const final A_CONST; + const int amount) const override final A_CONST; void moveItem(const int oldIndex, - const int newIndex) const final A_CONST; + const int newIndex) const override final A_CONST; - size_t getSize(const InventoryTypeT type) const final + size_t getSize(const InventoryTypeT type) const override final A_CONST A_WARN_UNUSED; static void pushPickup(const BeingId floorId); - void destroyStorage() const final; + void destroyStorage() const override final; - void forgotStorage() const final; + void forgotStorage() const override final; - Inventory *getStorage() const final; + Inventory *getStorage() const override final; protected: InventoryHandler(); -- cgit v1.2.3-70-g09d2