2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-01 20:42:11 +00:00

Merged r65836 (fix for #4715) from trunk; refs #4715

[SVN r65839]
This commit is contained in:
Jeremiah Willcock
2010-10-08 18:06:41 +00:00
parent e13fcab1e8
commit 4673c796aa

View File

@@ -392,8 +392,8 @@ BOOST_BGL_DECLARE_NAMED_PARAMS
template <typename ArgType, typename Prop, typename Graph, bool Exists>
struct override_const_property_t {
typedef ArgType result_type;
result_type operator()(const Graph&, const typename boost::add_reference<ArgType>::type a) const {return a;}
typedef typename boost::remove_const<ArgType>::type result_type;
result_type operator()(const Graph&, const ArgType& a) const {return a;}
};
template <typename ArgType, typename Prop, typename Graph>