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;