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 245b84be8b9..fd3f765bbf0 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 @@ -169,7 +169,8 @@ namespace internal { typedef EdgeIsConstrainedMap ECMap; typedef Connected_components_pmap CCMap; - typename CGAL::internal::dynamic_property_map >::type patch_ids_map; + typedef CGAL::internal::face_property_t Face_property_tag; + typename CGAL::internal::dynamic_property_map::type patch_ids_map; std::size_t nb_cc; public: @@ -185,7 +186,7 @@ namespace internal { , FIMap fimap , const bool do_init = true) { - patch_ids_map = CGAL::internal::add_property(CGAL::internal::face_property_t("PMP_patch_id"), pmesh); + patch_ids_map = CGAL::internal::add_property(Face_property_tag("PMP_patch_id"), pmesh); if (do_init) { nb_cc