Skip to content

Commit 6c7094a

Browse files
committed
Small fix on lambda function variable capturings
1 parent 3f17087 commit 6c7094a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/Strangeness/lambdaJetPolarizationIonsDerived.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ struct lambdajetpolarizationionsderived {
15231523
// Leading jet:
15241524
// pt comes from the jetProxyByCollision pre-pass above.
15251525
// (Collisions whose leading jet failed minLeadJetPt get the -999 sentinel, so they never enter this mixing)
1526-
auto getMixLeadJetPt = [this, &jetProxyByCollision](o2::aod::RingCollision const& col) {
1526+
auto getMixLeadJetPt = [&jetProxyByCollision](o2::aod::RingCollision const& col) {
15271527
auto cacheIt = jetProxyByCollision.find(col.globalIndex());
15281528
if (cacheIt == jetProxyByCollision.end() || !cacheIt->second.hasValidLeadingJet)
15291529
return -999.f;
@@ -1559,7 +1559,7 @@ struct lambdajetpolarizationionsderived {
15591559
}
15601560

15611561
// Subleading jet:
1562-
auto getMixSubJetPt = [this, &jetProxyByCollision](o2::aod::RingCollision const& col) {
1562+
auto getMixSubJetPt = [&jetProxyByCollision](o2::aod::RingCollision const& col) {
15631563
auto cacheIt = jetProxyByCollision.find(col.globalIndex());
15641564
if (cacheIt == jetProxyByCollision.end() || !cacheIt->second.hasValidSubJet)
15651565
return -999.f;

0 commit comments

Comments
 (0)