summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp10
-rw-r--r--src/gui/widgets/setuptouchitem.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 0764aee08..70c938559 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -62,7 +62,7 @@ class ItemIdPair final
Item* mItem;
};
-static const class SortItemAlphaFunctor final
+static class SortItemAlphaFunctor final
{
public:
bool operator() (const ItemIdPair *const pair1,
@@ -76,7 +76,7 @@ static const class SortItemAlphaFunctor final
}
} itemAlphaSorter;
-static const class SortItemIdFunctor final
+static class SortItemIdFunctor final
{
public:
bool operator() (const ItemIdPair *const pair1,
@@ -89,7 +89,7 @@ static const class SortItemIdFunctor final
}
} itemIdSorter;
-static const class SortItemWeightFunctor final
+static class SortItemWeightFunctor final
{
public:
bool operator() (const ItemIdPair *const pair1,
@@ -109,7 +109,7 @@ static const class SortItemWeightFunctor final
}
} itemWeightSorter;
-static const class SortItemAmountFunctor final
+static class SortItemAmountFunctor final
{
public:
bool operator() (const ItemIdPair *const pair1,
@@ -129,7 +129,7 @@ static const class SortItemAmountFunctor final
}
} itemAmountSorter;
-static const class SortItemTypeFunctor final
+static class SortItemTypeFunctor final
{
public:
bool operator() (const ItemIdPair *const pair1,
diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp
index e75b0a724..5d1ddfadc 100644
--- a/src/gui/widgets/setuptouchitem.cpp
+++ b/src/gui/widgets/setuptouchitem.cpp
@@ -27,7 +27,7 @@
#include "debug.h"
-static const class SortTouchActionFunctor final
+static class SortTouchActionFunctor final
{
public:
bool operator() (const SetupActionData *const data1,