diff --git a/Skin_surface_3/include/CGAL/triangulate_mixed_complex_3.h b/Skin_surface_3/include/CGAL/triangulate_mixed_complex_3.h index 000f47d475e..f6fae51887f 100644 --- a/Skin_surface_3/include/CGAL/triangulate_mixed_complex_3.h +++ b/Skin_surface_3/include/CGAL/triangulate_mixed_complex_3.h @@ -1080,9 +1080,9 @@ remove_small_edges() // NGHK: This may intrudoce rounding errors, since the quadratic surface // may change: Tmc_Vertex_handle vh, vh_collapse_to; - Tmc_Finite_vertices_iterator vit = _tmc.finite_vertices_begin(); int nCollapsed=0; - while (Tmc_Finite_vertices_iterator vit != _tmc.finite_vertices_end()) { + for (Tmc_Finite_vertices_iterator vit = _tmc.finite_vertices_begin(); + vit != _tmc.finite_vertices_end(); ) { vh = vit; vit++; if (is_collapsible(vh, vh_collapse_to,sq_length)) {