From 2bfd037c2d56ca79c185d361e26fff1aee33fce8 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 28 Jun 2017 11:23:09 +0200 Subject: [PATCH] Add keyword template --- .../internal/Isotropic_remeshing/remesh_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index fe0d3c9b7a5..daaa18405d2 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h @@ -190,7 +190,7 @@ namespace internal { : patch_ids_map() { #ifdef SM_FACE_PATCH_ID_PMAP - patch_ids_map = const_cast(pmesh).add_property_map("f:pid").first; + patch_ids_map = const_cast(pmesh). template add_property_map("f:pid").first; PMP::connected_components(pmesh, patch_ids_map, PMP::parameters::edge_is_constrained_map(ecmap) @@ -282,7 +282,7 @@ namespace internal { friend type get_status_pmap(const Self&, Surface_mesh& sm) { - return sm.add_property_map("halfedge_status_map", MESH).first; + return sm. template add_property_map("halfedge_status_map", MESH).first; } };