From a0e15936710c9f455eb30790c3c8d490dc1ef29c Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Tue, 17 Mar 2009 16:39:23 +0000 Subject: [PATCH] use const_iterator for input face container. --- vcg/complex/trimesh/subset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/subset.h b/vcg/complex/trimesh/subset.h index acbd1a16..abf3d98e 100644 --- a/vcg/complex/trimesh/subset.h +++ b/vcg/complex/trimesh/subset.h @@ -107,7 +107,7 @@ template void SubSet(S_MESH_TYPE & m, STL_CONT & subSet) { std::vector< InsertedV > newVertices; - typename STL_CONT::iterator pfi; + typename STL_CONT::const_iterator pfi; typename S_MESH_TYPE::VertexIterator vi; typename S_MESH_TYPE::FaceIterator fi; typedef typename S_MESH_TYPE::VertexType S_VertexType;