From dd326e44e1effa38717e046ce75629b32b89827b Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sat, 19 May 2001 02:08:46 +0000 Subject: [PATCH] fixed some property map constructors [SVN r10144] --- include/boost/graph/detail/adjacency_list.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index 895a0eb9..062312f9 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -2061,7 +2061,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(Graph&) { } + inline adj_list_vertex_property_map(const Graph*) { } inline Reference operator[](key_type v) const { StoredVertex* sv = (StoredVertex*)v; return get_property_value(sv->m_property, Tag()); @@ -2082,7 +2082,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(Graph&) { } + inline adj_list_vertex_all_properties_map(const Graph*) { } inline PropRef operator[](key_type v) const { StoredVertex* sv = (StoredVertex*)v; return sv->m_property;