summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 14:33:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 14:33:00 +0300
commitaae328e272cdec136a1367cf83a5873a6b4963a9 (patch)
tree8388d89d96aca4be2fb506d7978c2d846a05307b /src/gui/widgets/itemcontainer.cpp
parent26146784b5a41dd77d31d7713260c1343b575677 (diff)
downloadmv-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.gz
mv-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.bz2
mv-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.xz
mv-aae328e272cdec136a1367cf83a5873a6b4963a9.zip
Fix compilation errors with stlport.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 4ccfb566f..e12a15a6b 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -535,19 +535,21 @@ void ItemContainer::updateMatrix()
default:
break;
case 1:
- sort(sortedItems.begin(), sortedItems.end(), itemAlphaSorter);
+ std::sort(sortedItems.begin(), sortedItems.end(), itemAlphaSorter);
break;
case 2:
- sort(sortedItems.begin(), sortedItems.end(), itemIdSorter);
+ std::sort(sortedItems.begin(), sortedItems.end(), itemIdSorter);
break;
case 3:
- sort(sortedItems.begin(), sortedItems.end(), itemWeightSorter);
+ std::sort(sortedItems.begin(), sortedItems.end(),
+ itemWeightSorter);
break;
case 4:
- sort(sortedItems.begin(), sortedItems.end(), itemAmountSorter);
+ std::sort(sortedItems.begin(), sortedItems.end(),
+ itemAmountSorter);
break;
case 5:
- sort(sortedItems.begin(), sortedItems.end(), itemTypeSorter);
+ std::sort(sortedItems.begin(), sortedItems.end(), itemTypeSorter);
break;
}