Skip to content

Commit

Permalink
cref and ref in std::bind
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77devel committed Jul 24, 2020
1 parent 17efbf5 commit 376a099
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions RecoMTD/TrackExtender/plugins/TrackExtenderWithMTD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -905,19 +905,19 @@ void TrackExtenderWithMTDT<TrackCollection>::fillMatchingHits(const DetLayer* il

using namespace std::placeholders;
auto find_hits = std::bind(find_hits_in_dets,
hits,
traj,
std::cref(hits),
std::cref(traj),
ilay,
tsos,
std::cref(tsos),
pmag2,
pathlength0,
_1,
bs,
std::cref(bs),
bsTimeSpread_,
prop,
theEstimator.get(),
_2,
hitsInLayer);
std::ref(hitsInLayer));

if (useVertex_ && matchVertex)
find_hits(vtxTime, true);
Expand Down

0 comments on commit 376a099

Please sign in to comment.