diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
commit | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch) | |
tree | f6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/ea/inventoryhandler.h | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | mv-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/ea/inventoryhandler.h')
-rw-r--r-- | src/net/ea/inventoryhandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 31a755b42..98a617c83 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -41,7 +41,7 @@ class InventoryHandler notfinal : public Net::InventoryHandler virtual ~InventoryHandler(); - void clear() override final; + void clear() const override final; bool canSplit(const Item *const item) const override final A_CONST A_WARN_UNUSED; @@ -55,11 +55,11 @@ class InventoryHandler notfinal : public Net::InventoryHandler size_t getSize(const InventoryTypeT type) const override final A_CONST A_WARN_UNUSED; - void pushPickup(const BeingId floorId); + static void pushPickup(const BeingId floorId); - void destroyStorage() override final; + void destroyStorage() const override final; - void forgotStorage() override final; + void forgotStorage() const override final; Inventory *getStorage() const override final; |