2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-10 23:42:14 +00:00

fixed property map, added default constructor

[SVN r10195]
This commit is contained in:
Jeremy Siek
2001-05-23 15:37:57 +00:00
parent c657912300
commit 2251bbcb88

View File

@@ -2074,6 +2074,7 @@ namespace boost {
typedef Reference reference;
typedef typename Graph::vertex_descriptor key_type;
typedef boost::lvalue_property_map_tag category;
inline adj_list_vertex_property_map() { }
inline adj_list_vertex_property_map(const Graph*) { }
inline Reference operator[](key_type v) const {
StoredVertex* sv = (StoredVertex*)v;
@@ -2095,6 +2096,7 @@ namespace boost {
typedef PropRef reference;
typedef typename Graph::vertex_descriptor key_type;
typedef boost::lvalue_property_map_tag category;
inline adj_list_vertex_all_properties_map() { }
inline adj_list_vertex_all_properties_map(const Graph*) { }
inline PropRef operator[](key_type v) const {
StoredVertex* sv = (StoredVertex*)v;