From 55826e9043fe66a3eace4787b50dfbde3c1e6e2c Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Tue, 23 Mar 2021 10:29:52 +0100 Subject: [PATCH] RootDictionary: qualify std::pair, using namespace std was dropped from RootDict boilerplate --- DDCore/src/RootDictionary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDCore/src/RootDictionary.h b/DDCore/src/RootDictionary.h index 7d91464f8..ef693b8d4 100644 --- a/DDCore/src/RootDictionary.h +++ b/DDCore/src/RootDictionary.h @@ -50,7 +50,7 @@ namespace dd4hep { namespace align {} namespace detail {} void run_interpreter(const std::string& name) { - pair<int, char**> a(0,0); + std::pair<int, char**> a(0,0); TRint app(name.c_str(), &a.first, a.second); app.Run(); } @@ -65,7 +65,7 @@ namespace dd4hep { interp() = default; virtual ~interp() = default; static void run(const std::string& name) { - pair<int, char**> a(0,0); + std::pair<int, char**> a(0,0); TRint app(name.c_str(), &a.first, a.second); app.Run(); } -- GitLab