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/windows/buydialog.cpp | |
parent | b99b796ff57b0da269fa67d7eb05670be0558589 (diff) | |
download | plus-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.gz plus-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.bz2 plus-f46644e0096ffa2ce57c23707d588b2c073eed55.tar.xz plus-f46644e0096ffa2ce57c23707d588b2c073eed55.zip |
Add missing A_DEFAULT_COPY / A_DELETE_COPY into gui.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index 5a1cbd28e..b0e7aaa04 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -68,6 +68,8 @@ namespace class SortItemPriceFunctor final { public: + A_DEFAULT_COPY(SortItemPriceFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { @@ -85,6 +87,8 @@ namespace class SortItemNameFunctor final { public: + A_DEFAULT_COPY(SortItemNameFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { @@ -102,6 +106,8 @@ namespace class SortItemIdFunctor final { public: + A_DEFAULT_COPY(SortItemIdFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { @@ -119,6 +125,8 @@ namespace class SortItemWeightFunctor final { public: + A_DEFAULT_COPY(SortItemWeightFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { @@ -136,6 +144,8 @@ namespace class SortItemAmountFunctor final { public: + A_DEFAULT_COPY(SortItemAmountFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { @@ -153,6 +163,8 @@ namespace class SortItemTypeFunctor final { public: + A_DEFAULT_COPY(SortItemTypeFunctor) + bool operator() (const ShopItem *const item1, const ShopItem *const item2) const { |