summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
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
{