Fix finding object cache entries.
This commit is contained in:
committed by
Robert Osfield
parent
5f38374b7a
commit
69929f596f
@@ -16,6 +16,11 @@
|
||||
|
||||
using namespace osgDB;
|
||||
|
||||
bool ObjectCache::ClassComp::operator() (const ObjectCache::FileNameOptionsPair& lhs, const ObjectCache::FileNameOptionsPair& rhs)
|
||||
{
|
||||
return lhs.first < rhs.first || *lhs.second < *rhs.second;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ObjectCache
|
||||
|
||||
Reference in New Issue
Block a user