We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d0c3f6 commit 358c5faCopy full SHA for 358c5fa
1 file changed
PWGCF/Tasks/correlations.cxx
@@ -930,10 +930,12 @@ struct CorrelationTask {
930
void processMixedDerivedT(CollType const& collisions, TrackTypes&&... tracks)
931
{
932
auto getMultiplicity =
933
- [](auto& col) {
+ [this](auto& col) {
934
if constexpr (std::experimental::is_detected<HasMultSet, CollType>::value) {
935
if (!passOutlier(col))
936
return -1.0f;
937
+ } else {
938
+ (void)this; // fix compile error on unused 'this' capture
939
}
940
return col.multiplicity();
941
};
0 commit comments