Skip to content

Commit

Permalink
Remove extra static. Unnamed namespace already makes it visible only …
Browse files Browse the repository at this point in the history
…to the translation unit.
  • Loading branch information
dudarboh authored and andresailer committed Oct 15, 2024
1 parent ac322c8 commit 3447478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDCore/src/XML/DocumentHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3447478

Please sign in to comment.