From 358b2d20d841aae62b368834d0d7671e1ed562ee Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Thu, 26 Mar 2020 11:10:23 +0100 Subject: [PATCH] Fix point map type --- Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h b/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h index a96c08a1414..766f706d431 100644 --- a/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h +++ b/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h @@ -198,8 +198,7 @@ segmentation_from_sdf_values( const TriangleMesh& triangle_mesh, PointPropertyMap ppmap=PointPropertyMap(), GeomTraits traits=GeomTraits()) { - typedef typename boost::property_map::type VPMap; - internal::Surface_mesh_segmentation algorithm(triangle_mesh, traits, ppmap); + internal::Surface_mesh_segmentation algorithm(triangle_mesh, traits, ppmap); return algorithm.partition(number_of_clusters, smoothing_lambda, sdf_values_map, segment_ids, !output_cluster_ids); }