From 344747813f31e6ceb2caa1de27821a46636f47ab Mon Sep 17 00:00:00 2001 From: Bohdan Dudar Date: Tue, 1 Oct 2024 20:31:24 +0200 Subject: [PATCH] Remove extra static. Unnamed namespace already makes it visible only to the translation unit. --- DDCore/src/XML/DocumentHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/src/XML/DocumentHandler.cpp b/DDCore/src/XML/DocumentHandler.cpp index 38846f57a..a8841f219 100644 --- a/DDCore/src/XML/DocumentHandler.cpp +++ b/DDCore/src/XML/DocumentHandler.cpp @@ -40,7 +40,7 @@ namespace { } int s_minPrintLevel = dd4hep::INFO; - static std::string _clean_fname(const std::string& s) { + std::string _clean_fname(const std::string& s) { std::string const& temp = getEnviron(s); std::string temp2 = undressed_file_name(temp.empty() ? s : temp); if ( strncmp(temp2.c_str(),"file:",5)==0 ) return temp2.substr(5);