From c113247f831bd42c8c47f3be9a1a44d24f51ead2 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Wed, 27 Oct 2021 13:18:21 +0200 Subject: [PATCH] add missing typename --- .../include/CGAL/Polygon_mesh_processing/make_surface_mesh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mesh_3/include/CGAL/Polygon_mesh_processing/make_surface_mesh.h b/Mesh_3/include/CGAL/Polygon_mesh_processing/make_surface_mesh.h index f3f0302c1d9..74c38f2a103 100644 --- a/Mesh_3/include/CGAL/Polygon_mesh_processing/make_surface_mesh.h +++ b/Mesh_3/include/CGAL/Polygon_mesh_processing/make_surface_mesh.h @@ -197,7 +197,7 @@ void make_surface_mesh(const TriangleMesh& pmesh Mesh_domain domain(poly_ptrs_vector.begin(), poly_ptrs_vector.end()); // Vertex point map - typedef typename GetVertexPointMap::type VPMap; + using VPMap = typename GetVertexPointMap::type; VPMap vpmap = choose_parameter(get_parameter(np, internal_np::vertex_point), get_const_property_map(vertex_point, pmesh)); @@ -209,7 +209,7 @@ void make_surface_mesh(const TriangleMesh& pmesh domain.detect_features(angle_bound); //includes detection of borders // Sharp features - provided by user - using edge_descriptor = boost::graph_traits::edge_descriptor; + using edge_descriptor = typename boost::graph_traits::edge_descriptor; using ECMap = typename internal_np::Lookup_named_param_def < internal_np::edge_is_constrained_t, NamedParameters,