From df1a183214da940c0ef0212424c19c20316b16fd Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Tue, 4 Jun 2013 16:07:45 +0000 Subject: [PATCH] Added reference in parameter type [SVN r84633] --- include/boost/graph/maximum_adjacency_search.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/maximum_adjacency_search.hpp b/include/boost/graph/maximum_adjacency_search.hpp index a87c90de..58dc8695 100644 --- a/include/boost/graph/maximum_adjacency_search.hpp +++ b/include/boost/graph/maximum_adjacency_search.hpp @@ -304,7 +304,7 @@ maximum_adjacency_search(const Graph& g, WeightMap weights, MASVisitor vis, cons template void - operator() (const Graph& g, const ArgPack arg_pack) const { + operator() (const Graph& g, const ArgPack& arg_pack) const { // call the function that does the dispatching typedef typename get_param_type::type W; graph::detail::mas_dispatch::apply(g, arg_pack, get_param(arg_pack, edge_weight));