summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
commitb50eee3c4571c4a4657bc14c2935067d833bb801 (patch)
tree047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/ea/inventoryhandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h10
1 files changed, 4 insertions, 6 deletions
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);