From dd996d01676d7dca3eec442b14c4966ba0bb0935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 01:40:58 +0300 Subject: Delete copy constructor from net classes. --- src/net/ea/inventoryhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/ea/inventoryhandler.h') 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; -- cgit v1.2.3-70-g09d2