summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:20:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:20:02 +0300
commitf46644e0096ffa2ce57c23707d588b2c073eed55 (patch)
treed46af09d51968c9ced37e1551cd1ff95ee07d3a1 /src/gui/windows
parentb99b796ff57b0da269fa67d7eb05670be0558589 (diff)
downloadplus-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')
-rw-r--r--src/gui/windows/buydialog.cpp12
-rw-r--r--src/gui/windows/whoisonline.cpp2
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
{