Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57909 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-11-24 16:26:07


Author: jewillco
Date: 2009-11-24 16:26:06 EST (Tue, 24 Nov 2009)
New Revision: 57909
URL: http://svn.boost.org/trac/boost/changeset/57909

Log:
Fixed issues with property map types in reverse_graph; fixes #447
Text files modified:
   trunk/boost/graph/reverse_graph.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/reverse_graph.hpp
==============================================================================
--- trunk/boost/graph/reverse_graph.hpp (original)
+++ trunk/boost/graph/reverse_graph.hpp 2009-11-24 16:26:06 EST (Tue, 24 Nov 2009)
@@ -282,14 +282,14 @@
 };
 
 template <class BidirGraph, class GRef, class Property>
-typename property_map<BidirGraph, Property>::type
+typename property_map<reverse_graph<BidirGraph,GRef>, Property>::type
 get(Property p, reverse_graph<BidirGraph,GRef>& g)
 {
   return get(p, g.m_g);
 }
 
 template <class BidirGraph, class GRef, class Property>
-typename property_map<BidirGraph, Property>::const_type
+typename property_map<reverse_graph<BidirGraph,GRef>, Property>::const_type
 get(Property p, const reverse_graph<BidirGraph,GRef>& g)
 {
   const BidirGraph& gref = g.m_g; // in case GRef is non-const


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk