Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80939 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-10-10 13:27:46


Author: jewillco
Date: 2012-10-10 13:27:44 EDT (Wed, 10 Oct 2012)
New Revision: 80939
URL: http://svn.boost.org/trac/boost/changeset/80939

Log:
Added another remove_const to work around VC++ 9 issues
Text files modified:
   trunk/boost/graph/named_function_params.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/graph/named_function_params.hpp
==============================================================================
--- trunk/boost/graph/named_function_params.hpp (original)
+++ trunk/boost/graph/named_function_params.hpp 2012-10-10 13:27:44 EDT (Wed, 10 Oct 2012)
@@ -284,7 +284,7 @@
       }
 
       template <typename Param, typename Graph, typename PropertyTag>
- static typename property_map<Graph, PropertyTag>::type
+ static typename property_map<typename boost::remove_const<Graph>::type, PropertyTag>::type
       f(boost::mpl::false_, Graph& g, const Param&, PropertyTag tag) {
         return get(tag, g);
       }


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