From b50eee3c4571c4a4657bc14c2935067d833bb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:19 +0300 Subject: Add const attribute to net classes. --- src/net/ea/inventoryhandler.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/net/ea/inventoryhandler.h') diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 5c6f4258e..b6f6fdc06 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -46,18 +46,16 @@ class InventoryHandler notfinal : public Net::InventoryHandler void clear() override final; bool canSplit(const Item *const item) const - override final A_WARN_UNUSED; + override final A_CONST A_WARN_UNUSED; void splitItem(const Item *const item, - const int amount) const override final; + const int amount) const override final A_CONST; void moveItem(const int oldIndex, - const int newIndex) const override final; - - void openStorage(const int type) const override final; + const int newIndex) const override final A_CONST; size_t getSize(const InventoryTypeT type) const override final - A_WARN_UNUSED; + A_CONST A_WARN_UNUSED; void pushPickup(const BeingId floorId); -- cgit v1.2.3-60-g2f50