use const_iterator for input face container.

This commit is contained in:
Marco Di Benedetto 2009-03-17 16:39:23 +00:00
parent c39498df1f
commit a0e1593671
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ template <class S_MESH_TYPE, class STL_CONT>
void SubSet(S_MESH_TYPE & m, STL_CONT & subSet) void SubSet(S_MESH_TYPE & m, STL_CONT & subSet)
{ {
std::vector< InsertedV<S_MESH_TYPE> > newVertices; std::vector< InsertedV<S_MESH_TYPE> > newVertices;
typename STL_CONT::iterator pfi; typename STL_CONT::const_iterator pfi;
typename S_MESH_TYPE::VertexIterator vi; typename S_MESH_TYPE::VertexIterator vi;
typename S_MESH_TYPE::FaceIterator fi; typename S_MESH_TYPE::FaceIterator fi;
typedef typename S_MESH_TYPE::VertexType S_VertexType; typedef typename S_MESH_TYPE::VertexType S_VertexType;