From 4e539c158af3cf63d4dc53a60860ea9ddc9efc2f Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Fri, 18 May 2001 22:43:33 +0000 Subject: [PATCH] fixed LvaluePropertyGraphConcept [SVN r10136] --- include/boost/graph/graph_concepts.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/graph/graph_concepts.hpp b/include/boost/graph/graph_concepts.hpp index 3dfbc506..a2688bbf 100644 --- a/include/boost/graph/graph_concepts.hpp +++ b/include/boost/graph/graph_concepts.hpp @@ -395,15 +395,14 @@ namespace boost { struct LvaluePropertyGraphConcept { typedef typename property_map::type Map; + typedef typename property_map::const_type const_Map; void constraints() { function_requires< ReadablePropertyGraphConcept >(); - function_requires< LvaluePropertyMapConcept >(); + function_requires< LvaluePropertyMapConcept >(); function_requires< Mutable_LvaluePropertyMapConcept >(); - Map pmap = get(Property(), g); pval = get(Property(), g, x); put(Property(), g, x, pval); - ignore_unused_variable_warning(pmap); } G g; X x;