From 919a1e5286bd92a1b0c695c1eb8fa66d25749d2a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 9 Feb 2009 22:28:49 +0000 Subject: [PATCH] Fixed for loop bug in DatabasePager::getRequestsInProgress(). --- src/osgDB/DatabasePager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index 761ff64ec..f017fa928 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -1217,7 +1217,7 @@ bool DatabasePager::getRequestsInProgress() const if (getDataToMergeListSize()>0) return true; for(DatabaseThreadList::const_iterator itr = _databaseThreads.begin(); - itr != _databaseThreads.begin(); + itr != _databaseThreads.end(); ++itr) { if ((*itr)->getActive()) return true;