summaryrefslogtreecommitdiff
path: root/src/guichan/basiccontainer.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/guichan/basiccontainer.cpp
parent26146784b5a41dd77d31d7713260c1343b575677 (diff)
downloadmanaplus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.gz
manaplus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.bz2
manaplus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.xz
manaplus-aae328e272cdec136a1367cf83a5873a6b4963a9.zip
Fix compilation errors with stlport.
Diffstat (limited to 'src/guichan/basiccontainer.cpp')
-rw-r--r--src/guichan/basiccontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/basiccontainer.cpp b/src/guichan/basiccontainer.cpp
index c2a5aa964..4598c4e8d 100644
--- a/src/guichan/basiccontainer.cpp
+++ b/src/guichan/basiccontainer.cpp
@@ -83,7 +83,7 @@ namespace gcn
void BasicContainer::moveToBottom(Widget* widget)
{
WidgetListIterator iter;
- iter = find(mWidgets.begin(), mWidgets.end(), widget);
+ iter = std::find(mWidgets.begin(), mWidgets.end(), widget);
if (iter == mWidgets.end())
throw GCN_EXCEPTION("There is no such widget in this container.");
@@ -96,7 +96,7 @@ namespace gcn
void BasicContainer::death(const Event& event)
{
WidgetListIterator iter;
- iter = find(mWidgets.begin(), mWidgets.end(), event.getSource());
+ iter = std::find(mWidgets.begin(), mWidgets.end(), event.getSource());
if (iter == mWidgets.end())
throw GCN_EXCEPTION("There is no such widget in this container.");