diff --git a/Surface_mesh/include/CGAL/boost/graph/properties_Surface_mesh.h b/Surface_mesh/include/CGAL/boost/graph/properties_Surface_mesh.h index 335b9c51f44..4b73a354c1d 100644 --- a/Surface_mesh/include/CGAL/boost/graph/properties_Surface_mesh.h +++ b/Surface_mesh/include/CGAL/boost/graph/properties_Surface_mesh.h @@ -387,28 +387,28 @@ get(dynamic_halfedge_property_t, Surface_mesh& sm) // get functions for dynamic properties of const Surface_mesh template -CGAL::internal::Dynamic_with_index::Vertex_index, T> +typename boost::property_map, dynamic_vertex_property_t >::const_type get(dynamic_vertex_property_t, const Surface_mesh& sm) { return CGAL::internal::Dynamic_with_index::Vertex_index, T>(num_vertices(sm)); } template -CGAL::internal::Dynamic_with_index::Face_index, T> +typename boost::property_map, dynamic_face_property_t >::const_type get(dynamic_face_property_t, const Surface_mesh& sm) { return CGAL::internal::Dynamic_with_index::Face_index, T>(num_faces(sm)); } template -CGAL::internal::Dynamic_with_index::Halfedge_index, T> +typename boost::property_map, dynamic_halfedge_property_t >::const_type get(dynamic_halfedge_property_t, const Surface_mesh& sm) { return CGAL::internal::Dynamic_with_index::Halfedge_index, T>(num_halfedges(sm)); } template -CGAL::internal::Dynamic_with_index::Edge_index, T> +typename boost::property_map, dynamic_edge_property_t >::const_type get(dynamic_edge_property_t, const Surface_mesh& sm) { return CGAL::internal::Dynamic_with_index::Edge_index, T>(num_edges(sm));