Skip to content

Commit 3babdd0

Browse files
authored
fix meaglinter error
1 parent 69b7d25 commit 3babdd0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <type_traits>
4545
#include <unordered_map> // <<< CHANGED: for seenMap
4646
#include <vector>
47+
#include <utility>
4748

4849
// o2 includes.
4950
#include "CCDB/BasicCCDBManager.h"
@@ -463,7 +464,7 @@ struct lambdaspincorrderived {
463464
}
464465
if (nRepl == 0)
465466
continue;
466-
float invN = 1.0f / float(nRepl);
467+
float invN = 1.0f / static_cast<float>(nRepl);
467468

468469
for (auto& t3 : poolB) {
469470
if (!(selectionV0(t3) && checkKinematics(t1, t3))) {
@@ -507,7 +508,7 @@ struct lambdaspincorrderived {
507508

508509
auto sliced = V0s.sliceBy(tracksPerCollisionV0, collision1.index());
509510
eventPools[bin].emplace_back(collision1.index(), std::move(sliced));
510-
if ((int)eventPools[bin].size() > nEvtMixing) {
511+
if (static_cast<int>(eventPools[bin].size()) > nEvtMixing) {
511512
eventPools[bin].pop_front();
512513
}
513514
} // end primary-event loop

0 commit comments

Comments
 (0)