From ab4a00c231e84267c7d06b2b1bb167593f22d91f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Feb 2013 18:01:41 +0300 Subject: Fix errors in some compilers. --- src/gui/buydialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/buydialog.cpp') 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, -- cgit v1.2.3-70-g09d2