Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80908 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-10-08 16:04:48


Author: jewillco
Date: 2012-10-08 16:04:48 EDT (Mon, 08 Oct 2012)
New Revision: 80908
URL: http://svn.boost.org/trac/boost/changeset/80908

Log:
Added attempt at workaround for VC++ const graph type bug
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-08 16:04:48 EDT (Mon, 08 Oct 2012)
@@ -278,7 +278,7 @@
 
     template <> struct choose_impl_helper<false> {
       template <typename Param, typename Graph, typename PropertyTag>
- static typename property_map<Graph, PropertyTag>::const_type
+ static typename property_map<typename boost::remove_const<Graph>::type, PropertyTag>::const_type
       f(boost::mpl::true_, const 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