diff --git a/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h b/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h index 678354f98e5..96a5e495a29 100644 --- a/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h +++ b/Polyhedron/include/CGAL/boost/graph/properties_Polyhedron_3.h @@ -46,9 +46,7 @@ struct Dynamic_polyhedron_property_map { typedef value_type& reference; typedef boost::read_write_property_map_tag category; - - - Dynamic_polyhedron_property_map(const V& default_value) + Dynamic_polyhedron_property_map(const V& default_value = V()) : map_(new Map()), default_value(default_value) {} @@ -612,8 +610,10 @@ add(boost::face_property_t vprop, Polyhedron_3& poly) return internal::Dynamic_polyhedron_property_map(vprop.t); } - template -void remove(Pmap pm, Polyhedron_3&) +template +void remove( + internal::Dynamic_polyhedron_property_map, Descriptor, V> pm, + Polyhedron_3&) { pm.clear(); }