2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

Added reference in parameter type

[SVN r84633]
This commit is contained in:
Jeremiah Willcock
2013-06-04 16:07:45 +00:00
parent bf00bbe4f0
commit df1a183214

View File

@@ -304,7 +304,7 @@ maximum_adjacency_search(const Graph& g, WeightMap weights, MASVisitor vis, cons
template <typename ArgPack>
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<edge_weight_t, ArgPack >::type W;
graph::detail::mas_dispatch<W>::apply(g, arg_pack, get_param(arg_pack, edge_weight));