diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:20:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:20:02 +0300 |
commit | f46644e0096ffa2ce57c23707d588b2c073eed55 (patch) | |
tree | d46af09d51968c9ced37e1551cd1ff95ee07d3a1 /src/gui/widgets/itemcontainer.cpp | |
parent | b99b796ff57b0da269fa67d7eb05670be0558589 (diff) | |
download | mv-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.gz mv-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.bz2 mv-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.xz mv-f46644e0096ffa2ce57c23707d588b2c073eed55.zip |
Add missing A_DEFAULT_COPY / A_DELETE_COPY into gui.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 720f81ab1..4ac331078 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -67,6 +67,8 @@ namespace class ItemIdPair final { public: + A_DELETE_COPY(ItemIdPair) + ItemIdPair(const int id, Item *const item) : mId(id), mItem(item) { @@ -79,6 +81,8 @@ namespace class SortItemAlphaFunctor final { public: + A_DEFAULT_COPY(SortItemAlphaFunctor) + bool operator() (const ItemIdPair *const pair1, const ItemIdPair *const pair2) const { @@ -103,6 +107,8 @@ namespace class SortItemIdFunctor final { public: + A_DEFAULT_COPY(SortItemIdFunctor) + bool operator() (const ItemIdPair *const pair1, const ItemIdPair *const pair2) const { @@ -123,6 +129,8 @@ namespace class SortItemWeightFunctor final { public: + A_DEFAULT_COPY(SortItemWeightFunctor) + bool operator() (const ItemIdPair *const pair1, const ItemIdPair *const pair2) const { @@ -151,6 +159,8 @@ namespace class SortItemAmountFunctor final { public: + A_DEFAULT_COPY(SortItemAmountFunctor) + bool operator() (const ItemIdPair *const pair1, const ItemIdPair *const pair2) const { @@ -179,6 +189,8 @@ namespace class SortItemTypeFunctor final { public: + A_DEFAULT_COPY(SortItemTypeFunctor) + bool operator() (const ItemIdPair *const pair1, const ItemIdPair *const pair2) const { |