From ea73f5e85866b0aa950fb5910b12a5d84a982a37 Mon Sep 17 00:00:00 2001 From: jmcarcell <jmcarcell@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:50:45 +0100 Subject: [PATCH] Clean up a few headers, remove unused headers, add headers that are used --- GaudiCoreSvc/src/JobOptionsSvc/Analyzer.h | 3 +-- GaudiCoreSvc/src/JobOptionsSvc/Catalog.h | 1 - GaudiCoreSvc/src/JobOptionsSvc/Grammar.h | 2 -- GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h | 1 + GaudiCoreSvc/src/JobOptionsSvc/Messages.h | 3 +-- GaudiCoreSvc/src/JobOptionsSvc/Node.h | 1 - GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h | 1 + GaudiKernel/src/Lib/ParsersStandardSingle.cpp | 4 +--- 8 files changed, 5 insertions(+), 11 deletions(-) diff --git a/GaudiCoreSvc/src/JobOptionsSvc/Analyzer.h b/GaudiCoreSvc/src/JobOptionsSvc/Analyzer.h index 7c5dd03d85..6be63d2de8 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/Analyzer.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/Analyzer.h @@ -15,8 +15,7 @@ // ============================================================================ // STD & STL: // ============================================================================ -#include <string> -#include <vector> +#include <string_view> // ============================================================================ namespace Gaudi { namespace Parsers { diff --git a/GaudiCoreSvc/src/JobOptionsSvc/Catalog.h b/GaudiCoreSvc/src/JobOptionsSvc/Catalog.h index b31fbc3497..4a7014d623 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/Catalog.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/Catalog.h @@ -15,7 +15,6 @@ // ============================================================================ #include <iostream> #include <map> -#include <set> #include <string> #include <vector> // ============================================================================ diff --git a/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h b/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h index 30f9332937..19ab79798a 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/Grammar.h @@ -15,9 +15,7 @@ // ============================================================================ // STD & STL: // ============================================================================ -#include <map> #include <string> -#include <vector> // ============================================================================ // Boost: // ============================================================================ diff --git a/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h b/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h index ed5ea53136..6c0e2ccf81 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/IncludedFiles.h @@ -17,6 +17,7 @@ // ============================================================================ #include <map> #include <string> +#include <string_view> // ============================================================================ namespace Gaudi { namespace Parsers { diff --git a/GaudiCoreSvc/src/JobOptionsSvc/Messages.h b/GaudiCoreSvc/src/JobOptionsSvc/Messages.h index 966f3b7815..6ed85ed4a0 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/Messages.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/Messages.h @@ -13,9 +13,8 @@ // ============================================================================ // STD & STL // ============================================================================ -#include <iostream> #include <string> -#include <vector> +#include <string_view> // ============================================================================ // Boost // ============================================================================ diff --git a/GaudiCoreSvc/src/JobOptionsSvc/Node.h b/GaudiCoreSvc/src/JobOptionsSvc/Node.h index b98b72b616..2a597a331c 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/Node.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/Node.h @@ -15,7 +15,6 @@ // ============================================================================ // STD & STL: // ============================================================================ -#include <iostream> #include <string> #include <vector> // ============================================================================ diff --git a/GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h b/GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h index 86656d4743..61b5530b71 100644 --- a/GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h +++ b/GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h @@ -16,6 +16,7 @@ // =========================================================================== // STD & STL // =========================================================================== +#include <string> // =========================================================================== // Boost // =========================================================================== diff --git a/GaudiKernel/src/Lib/ParsersStandardSingle.cpp b/GaudiKernel/src/Lib/ParsersStandardSingle.cpp index a770f0be16..77d9f80999 100644 --- a/GaudiKernel/src/Lib/ParsersStandardSingle.cpp +++ b/GaudiKernel/src/Lib/ParsersStandardSingle.cpp @@ -25,10 +25,8 @@ // ============================================================================ // STD & STL // ============================================================================ -#include <map> -#include <set> #include <string> -#include <vector> +#include <string_view> // ============================================================================ // ============================================================================ #define PARSERS_DEF_FOR_SINGLE( Type ) \ -- GitLab