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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user