summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.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/whoisonline.cpp
parent26146784b5a41dd77d31d7713260c1343b575677 (diff)
downloadplus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.gz
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.bz2
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.xz
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.zip
Fix compilation errors with stlport.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index 962a0993b..68ea0f67b 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -194,9 +194,9 @@ void WhoIsOnline::updateWindow(std::vector<OnlinePlayer*> &friends,
setCaption(_("Who Is Online - ") + toString(numOnline));
//List the online people
- sort(friends.begin(), friends.end(), nameCompare);
- sort(neutral.begin(), neutral.end(), nameCompare);
- sort(disregard.begin(), disregard.end(), nameCompare);
+ std::sort(friends.begin(), friends.end(), nameCompare);
+ std::sort(neutral.begin(), neutral.end(), nameCompare);
+ std::sort(disregard.begin(), disregard.end(), nameCompare);
bool addedFromSection(false);
for (size_t i = 0, sz = friends.size(); i < sz; i++)
{