From 2f2839c76a24d2090ec96326a051e1680951e1fb Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:24:19 +0100 Subject: [PATCH] Update k4FWCore/components/PodioOutput.cpp --- k4FWCore/components/PodioOutput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k4FWCore/components/PodioOutput.cpp b/k4FWCore/components/PodioOutput.cpp index d7573ee2..e9c8f15c 100644 --- a/k4FWCore/components/PodioOutput.cpp +++ b/k4FWCore/components/PodioOutput.cpp @@ -68,8 +68,8 @@ StatusCode PodioOutput::execute() { const auto& [missing, _] = m_framewriter->checkConsistency(frame.getAvailableCollections(), "events"); error() << "Could not write event, because the following collections are not present: "; std::string sep = ""; - for (const auto& n : missing) { - error() << sep << n; + for (const auto& name : missing) { + error() << sep << name; sep = ", "; } error() << endmsg;