summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
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/ea/inventoryhandler.cpp
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmanaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 81fc0103a..9a3b5a442 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -54,7 +54,7 @@ InventoryHandler::~InventoryHandler()
delete2(InventoryRecv::mStorage);
}
-void InventoryHandler::clear()
+void InventoryHandler::clear() const
{
delete2(InventoryRecv::mStorage);
}
@@ -98,7 +98,7 @@ size_t InventoryHandler::getSize(const InventoryTypeT type) const
return 0;
}
}
-void InventoryHandler::destroyStorage()
+void InventoryHandler::destroyStorage() const
{
BLOCK_START("InventoryHandler::closeStorage")
if (storageWindow)
@@ -110,7 +110,7 @@ void InventoryHandler::destroyStorage()
BLOCK_END("InventoryHandler::closeStorage")
}
-void InventoryHandler::forgotStorage()
+void InventoryHandler::forgotStorage() const
{
storageWindow = nullptr;
}