From aae328e272cdec136a1367cf83a5873a6b4963a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 14:33:00 +0300 Subject: Fix compilation errors with stlport. --- src/guichan/basiccontainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/guichan/basiccontainer.cpp') 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."); -- cgit v1.2.3-70-g09d2