diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:23 +0300 |
commit | 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (patch) | |
tree | 99d5be24dafbf05ba3b30e603296222fe7e407dc /src/resources/inventory/inventory.cpp | |
parent | 45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff) | |
download | manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2 manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz manaverse-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.cpp | 2 |
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; |