We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bed77cd commit c7e5e37Copy full SHA for c7e5e37
1 file changed
PWGCF/Femto/Core/baseSelection.h
@@ -184,8 +184,8 @@ class BaseSelection
184
void reset()
185
{
186
mFinalBitmask.reset();
187
- for (auto& container : mSelectionContainers) { // o2-linter: disable=const-ref-in-for-loop (object modified in loop)
188
- container.reset();
+ for (std::size_t i = 0; i < mSelectionContainers.size(); i++) {
+ mSelectionContainers.at(i).reset();
189
}
190
if (mHasMinimalSelection) {
191
mPassesMinimalSelections = true;
0 commit comments