summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
commit0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (patch)
tree99d5be24dafbf05ba3b30e603296222fe7e407dc /src/resources/inventory/inventory.cpp
parent45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff)
downloadplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.
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;