diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 12 | ||||
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 2 |
2 files changed, 14 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 { diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 89e9feacd..cf999ae24 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -80,6 +80,8 @@ namespace class NameFunctuator final { public: + A_DEFAULT_COPY(NameFunctuator) + bool operator()(const OnlinePlayer *left, const OnlinePlayer *right) const { |