Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76588 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-01-19 11:35:29


Author: jewillco
Date: 2012-01-19 11:35:28 EST (Thu, 19 Jan 2012)
New Revision: 76588
URL: http://svn.boost.org/trac/boost/changeset/76588

Log:
Fixed issue with printing const graphs
Text files modified:
   trunk/boost/graph/adjacency_list_io.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/graph/adjacency_list_io.hpp
==============================================================================
--- trunk/boost/graph/adjacency_list_io.hpp (original)
+++ trunk/boost/graph/adjacency_list_io.hpp 2012-01-19 11:35:28 EST (Thu, 19 Jan 2012)
@@ -248,7 +248,7 @@
         template<class Val>
         PropertyPrinter& operator () ( std::ostream& out, const Val& v )
         {
- typename property_map<Graph,Tag>::type ps = get(Tag(), *graph);
+ typename property_map<Graph,Tag>::const_type ps = get(Tag(), *graph);
                 out << ps[ v ] <<" ";
                 PropertyPrinter<Graph,Next> print(*graph);
                 print(out, v);


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