From 0d52df5a252ce0f5cf061cfec193d7cdcfb8d9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 22 May 2020 15:13:38 +0200 Subject: [PATCH] Fix warnings --- .../include/CGAL/Polygon_mesh_processing/stitch_borders.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h index 383c88571ae..5a042617214 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/stitch_borders.h @@ -649,11 +649,10 @@ void run_stitch_borders(PolygonMesh& pmesh, } } -template HalfedgePairsRange filter_stitchable_pairs(PolygonMesh& pmesh, const HalfedgePairsRange& to_stitch, - const VertexPointMap& vpm, Uf_vertices& uf_vertices, Uf_handles& uf_handles) { @@ -813,8 +812,7 @@ std::size_t stitch_halfedge_range(const StitchableHalfedgePairsRange& to_stitch, typedef std::unordered_map Uf_handles; Uf_handles uf_handles; - std::vector to_stitch_filtered = - filter_stitchable_pairs(pmesh, to_stitch, vpm, uf_vertices, uf_handles); + std::vector to_stitch_filtered = filter_stitchable_pairs(pmesh, to_stitch, uf_vertices, uf_handles); mv.update_representatives(representative_candidates, to_stitch_filtered, vpm); @@ -841,7 +839,6 @@ std::size_t stitch_boundary_cycle(const typename boost::graph_traits::vertex_descriptor vertex_descriptor; typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor; typedef typename std::pair halfedges_pair;