Skip to content

Commit 72f836b

Browse files
committed
further code-check fixes
1 parent 98a4c3c commit 72f836b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGDQ/Tasks/global-muon-matcher.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ struct GlobalMuonMatching {
286286

287287
[[nodiscard]] o2::track::TrackParCovFwd asTrackParCovFwd() const
288288
{
289-
return o2::track::TrackParCovFwd(static_cast<const o2::track::TrackParCovFwd&>(*this));
289+
return {static_cast<const o2::track::TrackParCovFwd&>(*this)};
290290
}
291291

292292
private:
@@ -1506,7 +1506,7 @@ struct GlobalMuonMatching {
15061506
continue;
15071507
}
15081508

1509-
auto processGroup = [&](const std::vector<MatchingCandidate>& candidatesGroup, int32_t mixedGroupIndex) {
1509+
auto processGroup = [&, mchIndex](const std::vector<MatchingCandidate>& candidatesGroup, int32_t mixedGroupIndex) {
15101510
std::vector<MatchingCandidate> groupResults;
15111511
groupResults.reserve(candidatesGroup.size());
15121512

@@ -1595,7 +1595,7 @@ struct GlobalMuonMatching {
15951595
continue;
15961596
}
15971597

1598-
auto processGroup = [&](const std::vector<MatchingCandidate>& candidatesGroup, int32_t mixedGroupIndex) {
1598+
auto processGroup = [&, mchIndex](const std::vector<MatchingCandidate>& candidatesGroup, int32_t mixedGroupIndex) {
15991599
std::vector<MatchingCandidate> groupResults;
16001600
groupResults.reserve(candidatesGroup.size());
16011601

0 commit comments

Comments
 (0)