From 1f38a990b5235e217e694489c18654b7a12a84fc Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 11 Dec 2007 20:18:55 +0000 Subject: [PATCH] forgotten required std:: --- vcg/complex/trimesh/allocate.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 72af86c7..525d9df1 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.38 2007/12/11 11:35:50 cignoni +Added the CompactVertexVector garbage collecting function. + Revision 1.37 2007/10/16 16:46:53 cignoni Added Allocator::DeleteFace and Allocator::DeleteVertex; Now the use of SetD() should be deprecated. @@ -158,7 +161,7 @@ namespace vcg { /** \addtogroup trimesh */ template - void Reorder( vector &newVertIndex, vector_type &vert) + void Reorder( std::vector &newVertIndex, vector_type &vert) {} /*@{*/ @@ -373,7 +376,7 @@ namespace vcg { static void CompactVertexVector( MeshType &m ) { // newVertIndex [ ] gives you the new position of the vertex in the vector; - vector newVertIndex(m.vert.size()); + std::vector newVertIndex(m.vert.size()); size_t pos=0; size_t i=0;