]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/inspect/mc_dwarf_attrnames.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / mc / inspect / mc_dwarf_attrnames.cpp
index cbbc5b23b71aae8c56950805f7ad70fbf7a91985..b3eae0478aa7a5ea868c5a1ee4ca5ff8cdebf6a8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -154,8 +154,7 @@ const std::unordered_map<int, const char*> attrname_map = {
 };
 }
 
-namespace simgrid {
-namespace dwarf {
+namespace simgrid::dwarf {
 
 /** @brief Get the name of an attribute (DW_AT_*) from its code
  *
@@ -169,5 +168,4 @@ const char* attrname(int attr)
   return name == attrname_map.end() ? "DW_AT_unknown" : name->second;
 }
 
-} // namespace dwarf
-} // namespace simgrid
+} // namespace simgrid::dwarf