diff --git a/Property_map/include/CGAL/Dynamic_property_map.h b/Property_map/include/CGAL/Dynamic_property_map.h index 03ae5b16006..514ae5d4593 100644 --- a/Property_map/include/CGAL/Dynamic_property_map.h +++ b/Property_map/include/CGAL/Dynamic_property_map.h @@ -203,7 +203,7 @@ namespace CGAL { template typename boost::property_map >::const_type -get(CGAL::dynamic_vertex_property_t prop, const G&) +get(const CGAL::dynamic_vertex_property_t&, const G&) { typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor; return internal::Dynamic_property_map(); @@ -211,7 +211,7 @@ get(CGAL::dynamic_vertex_property_t prop, const G&) template typename boost::property_map >::const_type -get(CGAL::dynamic_halfedge_property_t prop, const G&) +get(const CGAL::dynamic_halfedge_property_t&, const G&) { typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor; return internal::Dynamic_property_map(); @@ -219,7 +219,7 @@ get(CGAL::dynamic_halfedge_property_t prop, const G&) template typename boost::property_map >::const_type -get(CGAL::dynamic_edge_property_t prop, const G&) +get(const CGAL::dynamic_edge_property_t&, const G&) { typedef typename boost::graph_traits::edge_descriptor edge_descriptor; return internal::Dynamic_property_map(); @@ -227,7 +227,7 @@ get(CGAL::dynamic_edge_property_t prop, const G&) template typename boost::property_map >::const_type -get(CGAL::dynamic_face_property_t prop, const G&) +get(const CGAL::dynamic_face_property_t&, const G&) { typedef typename boost::graph_traits::face_descriptor face_descriptor; return internal::Dynamic_property_map();