summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-02 18:01:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-02 18:12:41 +0300
commitab4a00c231e84267c7d06b2b1bb167593f22d91f (patch)
tree63b34f392cf88fb2db6b7a253e3978235c7fbe58 /src/gui
parent67ab809edd61bbcf7f22b79c0fa212cfe2625efb (diff)
downloadplus-1.3.2.3.tar.gz
plus-1.3.2.3.tar.bz2
plus-1.3.2.3.tar.xz
plus-1.3.2.3.zip
Fix errors in some compilers.v1.3.2.3
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/buydialog.cpp12
-rw-r--r--src/gui/socialwindow.cpp2
-rw-r--r--src/gui/widgets/itemcontainer.cpp10
-rw-r--r--src/gui/widgets/setuptouchitem.cpp2
4 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp
index 40e7648a6..2fc49d240 100644
--- a/src/gui/buydialog.cpp
+++ b/src/gui/buydialog.cpp
@@ -78,7 +78,7 @@ public:
}
};
-static const class SortItemPriceFunctor final
+static class SortItemPriceFunctor final
{
public:
bool operator() (const ShopItem *const item1,
@@ -95,7 +95,7 @@ static const class SortItemPriceFunctor final
}
} itemPriceSorter;
-static const class SortItemNameFunctor final
+static class SortItemNameFunctor final
{
public:
bool operator() (const ShopItem *const item1,
@@ -112,7 +112,7 @@ static const class SortItemNameFunctor final
}
} itemNameSorter;
-static const class SortItemIdFunctor final
+static class SortItemIdFunctor final
{
public:
bool operator() (const ShopItem *const item1,
@@ -129,7 +129,7 @@ static const class SortItemIdFunctor final
}
} itemIdSorter;
-static const class SortItemWeightFunctor final
+static class SortItemWeightFunctor final
{
public:
bool operator() (const ShopItem *const item1,
@@ -146,7 +146,7 @@ static const class SortItemWeightFunctor final
}
} itemWeightSorter;
-static const class SortItemAmountFunctor final
+static class SortItemAmountFunctor final
{
public:
bool operator() (const ShopItem *const item1,
@@ -163,7 +163,7 @@ static const class SortItemAmountFunctor final
}
} itemAmountSorter;
-static const class SortItemTypeFunctor final
+static class SortItemTypeFunctor final
{
public:
bool operator() (const ShopItem *const item1,
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 2abdf8286..b5a2d74fc 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -54,7 +54,7 @@
#include "debug.h"
-static const class SortFriendsFunctor final
+static class SortFriendsFunctor final
{
public:
bool operator() (const Avatar *const m1, const Avatar *const m2) const
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,