From 4ef3425a26a3b13a7a50fcf899245dc682144ce5 Mon Sep 17 00:00:00 2001 From: Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch> Date: Wed, 15 Jul 2020 18:52:33 +0200 Subject: [PATCH] Added some necessary system includes to the source. After some cleanup in upstream headers, the omissions showed up in the build. --- HLT/Trigger/TrigControl/TrigPSC/src/Config.cxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/HLT/Trigger/TrigControl/TrigPSC/src/Config.cxx b/HLT/Trigger/TrigControl/TrigPSC/src/Config.cxx index 0f689cc23df..83f8aaa0af9 100644 --- a/HLT/Trigger/TrigControl/TrigPSC/src/Config.cxx +++ b/HLT/Trigger/TrigControl/TrigPSC/src/Config.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ /** @@ -19,6 +19,9 @@ #include <boost/optional.hpp> #include <array> #include <climits> +#include <iomanip> +#include <set> +#include <sstream> #include <unistd.h> using std::string; @@ -204,14 +207,14 @@ std::string psc::Config::dumpOptions() const } //////////////////////////////////////////////////////////////////////////////// -std::string psc::Config::getOption(const std::string& key) const +std::string psc::Config::getOption(const std::string& key) const { - std::map<std::string, std::string>::const_iterator it = optmap.find(key); + std::map<std::string, std::string>::const_iterator it = optmap.find(key); if (it == optmap.end()) { ERS_PSC_WARNING("Could not find requested option = " << key) ; ERS_DEBUG(1, " " << dumpOptions() ) ; return ""; - } + } return it->second; } @@ -227,7 +230,7 @@ std::string psc::Config::toPython(const std::string& dictName) const oss << ","; } oss << "'" << it->first << "':'" << it->second << "'"; - first = false; + first = false; } oss << "}" << std::endl; return oss.str(); -- GitLab