Skip to content

Commit 9b24c7c

Browse files
committed
Pass ampl by value
1 parent 1f2465d commit 9b24c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/D2H/Tasks/taskFlowCharmHadrons.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ struct HfTaskFlowCharmHadrons {
300300
void getQvecXic0Tracks(const T1& cand,
301301
std::vector<float>& tracksQx,
302302
std::vector<float>& tracksQy,
303-
const float& ampl)
303+
float ampl)
304304
{
305305
// add possibility to consider different weights for the tracks, at the moment only pT is considered;
306306
float pXTrack0 = cand.pxPosV0Dau();

0 commit comments

Comments
 (0)