summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/inventoryhandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r--src/net/inventoryhandler.h6
1 files changed, 3 insertions, 3 deletions
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;