summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/inventory/inventory.cpp')
-rw-r--r--src/resources/inventory/inventory.cpp2
1 files changed, 2 insertions, 0 deletions
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;