diff --git a/Surface_mesher/include/CGAL/IO/facets_in_complex_2_to_triangle_mesh.h b/Surface_mesher/include/CGAL/IO/facets_in_complex_2_to_triangle_mesh.h index a3c588ce813..0d6ac1e4e87 100644 --- a/Surface_mesher/include/CGAL/IO/facets_in_complex_2_to_triangle_mesh.h +++ b/Surface_mesher/include/CGAL/IO/facets_in_complex_2_to_triangle_mesh.h @@ -48,7 +48,7 @@ namespace CGAL{ template void facets_in_complex_2_to_triangle_mesh(const C2T3& c2t3, TriangleMesh& graph) { - typedef typename boost::property_map::type VertexPointMap; + typedef typename boost::property_map::type VertexPointMap; typedef typename boost::property_traits::value_type Point_3; typedef typename C2T3::Triangulation Tr; typedef typename Tr::Vertex_handle Vertex_handle; @@ -128,13 +128,13 @@ void facets_in_complex_2_to_triangle_mesh(const C2T3& c2t3, TriangleMesh& graph) std::map V; int inum = 0; //add vertices - std::vector::vertex_descriptor> vertices; + std::vector::vertex_descriptor> vertices; for(Vertex_iterator vit = tr.vertices_begin(); vit != tr.vertices_end(); ++vit) { - typename boost::graph_traits::vertex_descriptor v = add_vertex(graph); + typename boost::graph_traits::vertex_descriptor v = add_vertex(graph); vertices.push_back(v); put(vpmap, v, @@ -156,7 +156,7 @@ void facets_in_complex_2_to_triangle_mesh(const C2T3& c2t3, TriangleMesh& graph) : V[fit->first->vertex(tr.vertex_triple_index(fit->second, 2))]), id2(regular_orientation ? V[fit->first->vertex(tr.vertex_triple_index(fit->second, 2))] : V[fit->first->vertex(tr.vertex_triple_index(fit->second, 1))]); - std::vector::vertex_descriptor> face; + std::vector::vertex_descriptor> face; face.resize(3); face[0] = vertices[id0]; face[1] = vertices[id1];