Skip to content

Commit f4505b0

Browse files
committed
Remove std::move from array constructor
1 parent ece2af2 commit f4505b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(PVector, pVector, //! Momentum vector in x,y,z-direct
165165
const auto px = pt * (r * cs - snp * sn);
166166
const auto py = pt * (snp * cs + r * sn);
167167
const auto pz = pt * tgl;
168-
return std::array<float, 3>{std::move(px), std::move(py), std::move(pz)};
168+
return std::array<float, 3>{px, py, pz};
169169
});
170170
DECLARE_SOA_EXPRESSION_COLUMN(P, p, float, //! Momentum in Gev/c
171171
ifnode(nabs(aod::track::signed1Pt) <= o2::constants::math::Almost0, o2::constants::math::VeryBig, 0.5f * (ntan(o2::constants::math::PIQuarter - 0.5f * natan(aod::track::tgl)) + 1.f / ntan(o2::constants::math::PIQuarter - 0.5f * natan(aod::track::tgl))) / nabs(aod::track::signed1Pt)));

0 commit comments

Comments
 (0)