From afdd141d73d9cacf62766095df74f9a1e4b17b34 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 12 Dec 2007 10:35:47 +0000 Subject: [PATCH] Added std:: in front of find enties --- src/osgDB/DatabasePager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index ff3037679..b512b917a 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -772,7 +772,7 @@ void DatabasePager::run() _dataToCompileList.end(), SortFileRequestFunctor()); // Prune all the old entries. DatabaseRequestList::iterator tooOld - = find_if(_dataToCompileList.begin(), + = std::find_if(_dataToCompileList.begin(), _dataToCompileList.end(), refPtrAdapt(std::not1(std::bind2nd(std::mem_fun(&DatabaseRequest ::isRequestCurrent), @@ -1281,7 +1281,7 @@ void DatabasePager::compileGLObjects(osg::State& state, double& availableTime) // not guaranteed to still be at the beginning of the // list. DatabaseRequestList::iterator requestIter - = find(_dataToCompileList.begin(), _dataToCompileList.end(), + = std::find(_dataToCompileList.begin(), _dataToCompileList.end(), databaseRequest); if (requestIter != _dataToCompileList.end()) {