[PWGUD] Task update for potential memory leak #10660
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGUD/AQC/udQC.cxx#L147
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-process]:
PWGUD/AQC/udQC.cxx#L1
Use constant references for table subscriptions in process functions.
|
|
[const-ref-in-process]:
PWGUD/AQC/udQC.cxx#L193
Argument aod::Calos& calos is not const&.
|
|
[const-ref-in-process]:
PWGUD/AQC/udQC.cxx#L193
Argument aod::Zdcs& zdcs is not const&.
|
|
[const-ref-in-for-loop]:
PWGUD/AQC/udQC.cxx#L740
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGUD/AQC/udQC.cxx#L718
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGUD/AQC/udQC.cxx#L691
Use constant references for non-modified iterators in range-based for loops.
|
|
[root/lorentz-vector]:
PWGUD/AQC/udQC.cxx#L404
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
[root/lorentz-vector]:
PWGUD/AQC/udQC.cxx#L403
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
[root/lorentz-vector]:
PWGUD/AQC/udQC.cxx#L26
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.
|