diff --git a/include/boost/graph/edge_list.hpp b/include/boost/graph/edge_list.hpp index 0bbc813f..59667cca 100644 --- a/include/boost/graph/edge_list.hpp +++ b/include/boost/graph/edge_list.hpp @@ -125,10 +125,11 @@ namespace boost { template class el_edge_property_map - : public put_get_at_helper >{ + : public put_get_helper >{ public: typedef E key_type; typedef D value_type; + typedef D reference; typedef readable_property_map_tag category; value_type operator[](key_type e) const { @@ -213,10 +214,11 @@ namespace boost { } template class el_ra_edge_property_map - : public put_get_at_helper >{ + : public put_get_helper >{ public: typedef E key_type; typedef E value_type; + typedef E reference; typedef readable_property_map_tag category; value_type operator[](key_type e) const {