From Colin McDonald, "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due to a missing std:: namespace prefix."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14876 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
906bb27fa0
commit
4f423ff66b
@ -815,7 +815,7 @@ void VertexCacheVisitor::doVertexOptimization(Geometry& geom,
|
|||||||
// vertices in the cache have already been added.
|
// vertices in the cache have already been added.
|
||||||
OSG_DEBUG << "VertexCacheVisitor searching all triangles" << std::endl;
|
OSG_DEBUG << "VertexCacheVisitor searching all triangles" << std::endl;
|
||||||
TriangleList::iterator maxItr
|
TriangleList::iterator maxItr
|
||||||
= max_element(triangles.begin(), triangles.end(),
|
= std::max_element(triangles.begin(), triangles.end(),
|
||||||
CompareTriangle());
|
CompareTriangle());
|
||||||
triToAdd = &(*maxItr);
|
triToAdd = &(*maxItr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user