diff --git a/Property_map/include/CGAL/property_map.h b/Property_map/include/CGAL/property_map.h index 93b933d28a7..2c591bb5a87 100644 --- a/Property_map/include/CGAL/property_map.h +++ b/Property_map/include/CGAL/property_map.h @@ -281,8 +281,9 @@ struct Property_map_to_unary_function{ : map(m) {} + template result_type - operator()(const argument_type& a) const + operator()(KeyType a) const { return get(map,a); }