Mini code cleaning

This commit is contained in:
Mael Rouxel-Labbé 2020-02-05 18:11:26 +01:00
parent 0bd5511803
commit e72756eb0a
2 changed files with 6 additions and 6 deletions

View File

@ -890,8 +890,8 @@ std::size_t stitch_borders(PolygonMesh& pmesh,
halfedge_descriptor;
std::vector< std::pair<halfedge_descriptor, halfedge_descriptor> > hedge_pairs_to_stitch;
typedef typename GetVertexPointMap<PolygonMesh, CGAL_PMP_NP_CLASS>::const_type VPMap;
VPMap vpm = choose_parameter(get_parameter(np, internal_np::vertex_point),
typedef typename GetVertexPointMap<PolygonMesh, CGAL_PMP_NP_CLASS>::const_type VPM
VPM vpm = choose_parameter(get_parameter(np, internal_np::vertex_point),
get_const_property_map(vertex_point, pmesh));
#ifdef CGAL_PMP_STITCHING_DEBUG
@ -907,7 +907,7 @@ std::size_t stitch_borders(PolygonMesh& pmesh,
internal::collect_duplicated_stitchable_boundary_edges(pmesh,
std::back_inserter(hedge_pairs_to_stitch),
internal::Less_for_halfedge<PolygonMesh, VPMap>(pmesh, vpm),
internal::Less_for_halfedge<PolygonMesh, VPM>(pmesh, vpm),
vpm, np);
res += stitch_borders(pmesh, hedge_pairs_to_stitch, np);