Changed back to use an std::vector<> rather than a std::list for RequestQueue to
avoid member template problems under Solaris.
This commit is contained in:
parent
a9b05e0815
commit
fec2a8fabe
@ -347,7 +347,7 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
|
||||
|
||||
struct RequestQueue : public osg::Referenced
|
||||
{
|
||||
typedef std::list< osg::ref_ptr<DatabaseRequest> > RequestList;
|
||||
typedef std::vector< osg::ref_ptr<DatabaseRequest> > RequestList;
|
||||
|
||||
void sort();
|
||||
|
||||
|
@ -243,7 +243,7 @@ struct DatabasePager::SortFileRequestFunctor
|
||||
//
|
||||
void DatabasePager::RequestQueue::sort()
|
||||
{
|
||||
_requestList.sort(SortFileRequestFunctor());
|
||||
std::sort(_requestList.begin(),_requestList.end(),SortFileRequestFunctor());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user