summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
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/widgets/itemcontainer.cpp
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/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp12
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
{