diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h index 02692973e93..a50deb6ae03 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Visitor.h @@ -472,7 +472,7 @@ public: { static const constexpr std::size_t NM_NID((std::numeric_limits::max)()); - for(const std::pair& tm_and_nm : + for(const std::pair& tm_and_nm : non_manifold_feature_maps) { TriangleMesh* tm_ptr = const_cast(tm_and_nm.first); @@ -485,7 +485,7 @@ public: if (eid!=NM_NID) edges_to_copy.push_back(std::make_pair(eid,&(ed_and_ids.second))); } - for(const std::pair& id_and_nodes : edges_to_copy) + for(const std::pair& id_and_nodes : edges_to_copy) { const std::vector& nm_edges = tm_and_nm.second->non_manifold_edges[id_and_nodes.first];