Skip to content

Commit ca4c4df

Browse files
committed
taskMcEfficiency.cxx: passedByValue
1 parent 180f176 commit ca4c4df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/Tasks/taskMcEfficiency.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct HfTaskMcEfficiency {
125125
}
126126

127127
template <bool Mc, bool HasDplus, bool HasDs, bool HasLc, bool HasXicPlus, typename T1, typename T2, typename T3>
128-
void candidate3ProngLoop(T1& candidates, T2& tracks, T3& mcParticles, std::vector<int> pdgCodes)
128+
void candidate3ProngLoop(T1 const& candidates, T2 const& tracks, T3 const& mcParticles, std::vector<int> const& pdgCodes)
129129
{
130130
using TracksType = std::decay_t<decltype(tracks)>;
131131

@@ -325,7 +325,7 @@ struct HfTaskMcEfficiency {
325325
}
326326

327327
template <bool Mc, typename T1, typename T2, typename T3>
328-
void candidate2ProngLoop(T1 const& candidates, T2 const& tracks, T3 const& mcParticles, std::vector<int> pdgCodes)
328+
void candidate2ProngLoop(T1 const& candidates, T2 const& tracks, T3 const& mcParticles, std::vector<int> const& pdgCodes)
329329
{
330330
using TracksType = std::decay_t<decltype(tracks)>;
331331

0 commit comments

Comments
 (0)