Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84633 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2013-06-04 12:07:46


Author: jewillco
Date: 2013-06-04 12:07:45 EDT (Tue, 04 Jun 2013)
New Revision: 84633
URL: http://svn.boost.org/trac/boost/changeset/84633

Log:
Added reference in parameter type
Text files modified:
   trunk/boost/graph/maximum_adjacency_search.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/graph/maximum_adjacency_search.hpp
==============================================================================
--- trunk/boost/graph/maximum_adjacency_search.hpp (original)
+++ trunk/boost/graph/maximum_adjacency_search.hpp 2013-06-04 12:07:45 EDT (Tue, 04 Jun 2013)
@@ -304,7 +304,7 @@
 
         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));


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