Refactored the sort of the requestQueue so that there is single code path for doing the sort.
This commit is contained in:
@@ -348,6 +348,8 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
|
||||
struct RequestQueue : public osg::Referenced
|
||||
{
|
||||
typedef std::list< osg::ref_ptr<DatabaseRequest> > RequestList;
|
||||
|
||||
void sort();
|
||||
|
||||
RequestList _requestList;
|
||||
OpenThreads::Mutex _requestMutex;
|
||||
|
||||
Reference in New Issue
Block a user