Skip to content
Snippets Groups Projects
Commit 6c7188f0 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'cppcheck.AthenaMPTools-20240314' into 'main'

AthenaMPTools: Fix cppcheck warning.

See merge request atlas/athena!69789
parents c091840f 7b9bc25c
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#include "AthenaMPToolBase.h"
......@@ -209,7 +209,7 @@ void AthenaMPToolBase::setRandString(const std::string& randStr)
void AthenaMPToolBase::killChildren()
{
for(auto child : m_processGroup->getChildren()) {
for(const AthenaInterprocess::Process& child : m_processGroup->getChildren()) {
kill(child.getProcessID(),SIGKILL);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment