From 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:21:23 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources. --- src/resources/inventory/inventory.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/inventory/inventory.cpp') diff --git a/src/resources/inventory/inventory.cpp b/src/resources/inventory/inventory.cpp index 3421508ad..0f34ea977 100644 --- a/src/resources/inventory/inventory.cpp +++ b/src/resources/inventory/inventory.cpp @@ -46,6 +46,8 @@ namespace { struct SlotUsed final { + A_DEFAULT_COPY(SlotUsed) + bool operator()(const Item *const item) const { return item && item->mId >= 0 && item->mQuantity > 0; -- cgit v1.2.3-60-g2f50