From a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:59 +0300 Subject: Add missing const in net directory. --- src/net/inventoryhandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/inventoryhandler.h') diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 77d2a526f..d47b32097 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -36,7 +36,7 @@ class InventoryHandler notfinal virtual ~InventoryHandler() { } - virtual void clear() = 0; + virtual void clear() const = 0; virtual void equipItem(const Item *const item) const = 0; @@ -67,9 +67,9 @@ class InventoryHandler notfinal virtual Inventory *getStorage() const = 0; - virtual void destroyStorage() = 0; + virtual void destroyStorage() const = 0; - virtual void forgotStorage() = 0; + virtual void forgotStorage() const = 0; virtual int convertFromServerSlot(const int eAthenaSlot) const = 0; -- cgit v1.2.3-70-g09d2