From 692f35a62d5ea2ffa75360d4702a88e1ff66bbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 15 Feb 2021 17:17:20 +0100 Subject: [PATCH] fix warnings --- .../Polygon_mesh_processing/internal/Corefinement/Visitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];