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); }