diff --git a/Property_map/include/CGAL/property_map.h b/Property_map/include/CGAL/property_map.h index a1962cfc8d7..071a86581ba 100644 --- a/Property_map/include/CGAL/property_map.h +++ b/Property_map/include/CGAL/property_map.h @@ -276,8 +276,8 @@ struct Nth_of_tuple_property_map > value_type& operator[](key_type& tuple) const { return get(tuple); } typedef Nth_of_tuple_property_map Self; - friend reference get(const Self&,const key_type& k) {return get(k);} - friend void put(const Self&,key_type& k, const value_type& v) {get(k)=v;} + friend reference get(const Self&,const key_type& k) {return std::get(k);} + friend void put(const Self&,key_type& k, const value_type& v) {std::get(k)=v;} }; #endif