summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 01:40:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 01:40:58 +0300
commitdd996d01676d7dca3eec442b14c4966ba0bb0935 (patch)
treecf33c3b0ab342ad7eace2c79d75fa5ba3e852f5e /src/net/ea/inventoryhandler.h
parent75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0 (diff)
downloadmanaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.gz
manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.bz2
manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.xz
manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.zip
Delete copy constructor from net classes.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 15c2e0994..cd56dd31f 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -46,6 +46,8 @@ class EquipBackend : public Equipment::Backend
memset(mEquipment, -1, sizeof(mEquipment));
}
+ A_DELETE_COPY(EquipBackend);
+
Item *getEquipment(int index) const
{
int invyIndex = mEquipment[index];
@@ -140,6 +142,8 @@ class InventoryHandler : public Net::InventoryHandler
InventoryHandler();
+ A_DELETE_COPY(InventoryHandler);
+
~InventoryHandler();
bool canSplit(const Item *item) const;