Added an include (<algorithm>)
This commit is contained in:
parent
1706a1a0b5
commit
556364c751
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.1 2004/06/24 08:03:59 cignoni
|
||||||
|
Initial Release
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -31,6 +34,8 @@ $Log: not supported by cvs2svn $
|
||||||
#define __VCGLIB_CLEAN
|
#define __VCGLIB_CLEAN
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include<vcg/complex/trimesh/allocate.h>
|
#include<vcg/complex/trimesh/allocate.h>
|
||||||
namespace vcg {
|
namespace vcg {
|
||||||
namespace tri {
|
namespace tri {
|
||||||
|
@ -77,7 +82,7 @@ static int RemoveDuplicateVertex( MeshType & m ) // V1.0
|
||||||
|
|
||||||
RemoveDuplicateVert_Compare<VertexIterator> c_obj;
|
RemoveDuplicateVert_Compare<VertexIterator> c_obj;
|
||||||
|
|
||||||
sort(perm.begin(),perm.end(),c_obj);
|
std::sort(perm.begin(),perm.end(),c_obj);
|
||||||
|
|
||||||
j = 0;
|
j = 0;
|
||||||
i = j;
|
i = j;
|
||||||
|
|
Loading…
Reference in New Issue