Skip to content

Commit 4c3c202

Browse files
authored
Add missing references (#2826)
Without it only works if the passed argument is a reference itself
1 parent b14deec commit 4c3c202

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Common/Core/CollisionAssociation.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ class CollisionAssociation
6161
template <typename TTracks, typename Slice, typename Assoc, typename RevIndices>
6262
void runStandardAssoc(Collisions const& collisions,
6363
TTracks const& tracks,
64-
Slice perCollisions,
65-
Assoc association,
66-
RevIndices reverseIndices)
64+
Slice& perCollisions,
65+
Assoc& association,
66+
RevIndices& reverseIndices)
6767
{
6868
// we do it for all tracks, to be compatible with Run 2 analyses
6969
for (const auto& collision : collisions) {
@@ -122,8 +122,8 @@ class CollisionAssociation
122122
TTracks const& tracks,
123123
TAmbiTracks const& ambiguousTracks,
124124
BCs const& bcs,
125-
Assoc association,
126-
RevIndices reverseIndices)
125+
Assoc& association,
126+
RevIndices& reverseIndices)
127127
{
128128
// cache globalBC
129129
std::vector<uint64_t> globalBC;

0 commit comments

Comments
 (0)