Hi Robert,
I've just reviewed you change to
osgDB::Registry::removeExpiredObjectsInCache and believe that the line
_objectCache.erase(oitr++);
Relies upon the oitr iterator being copied then incremented, then the
copy being passed to _objectCache.
That's exactly what the standard says must be done. Otherwise the
compiler is bogus.
But for readability you may consider changing it to use a temporary
variable.
Cheers,
Juan
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org