Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-08-01 10:20:59


Author: dgregor
Date: 2008-08-01 10:20:59 EDT (Fri, 01 Aug 2008)
New Revision: 47930
URL: http://svn.boost.org/trac/boost/changeset/47930

Log:
Make reverse_graph work with non-class graph types
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 2008-08-01 10:20:59 EDT (Fri, 01 Aug 2008)
@@ -76,9 +76,9 @@
     typedef typename Traits::edges_size_type edges_size_type;
 
     // More typedefs used by detail::edge_property_map, vertex_property_map
- typedef typename BidirectionalGraph::edge_property_type
+ typedef typename boost::edge_property_type<BidirectionalGraph>::type
       edge_property_type;
- typedef typename BidirectionalGraph::vertex_property_type
+ typedef typename boost::vertex_property_type<BidirectionalGraph>::type
       vertex_property_type;
     typedef reverse_graph_tag graph_tag;
 


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