diff --git a/include/boost/graph/named_function_params.hpp b/include/boost/graph/named_function_params.hpp index 17a3af96..5d6e6d58 100644 --- a/include/boost/graph/named_function_params.hpp +++ b/include/boost/graph/named_function_params.hpp @@ -148,14 +148,14 @@ namespace boost { template bgl_named_params - distance_inf(const Init& init) const { + distance_inf(Init init) const { typedef bgl_named_params Params; return Params(init, *this); } template bgl_named_params - distance_zero(const Init& init) const { + distance_zero(Init init) const { typedef bgl_named_params Params; return Params(init, *this); } @@ -291,14 +291,14 @@ namespace boost { template bgl_named_params - distance_inf(const Init& init) { + distance_inf(Init init) { typedef bgl_named_params Params; return Params(init); } template bgl_named_params - distance_zero(const Init& init) { + distance_zero(Init init) { typedef bgl_named_params Params; return Params(init); }