Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / instr / instr_paje_header.cpp
index 6721856..725117b 100644 (file)
@@ -1,18 +1,17 @@
-/* Copyright (c) 2010-2020. The SimGrid Team.
+/* Copyright (c) 2010-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. */
 
 #include "simgrid/Exception.hpp"
+#include "simgrid/version.h"
 #include "src/instr/instr_private.hpp"
 #include "src/smpi/include/private.hpp"
 #include "xbt/virtu.h" /* xbt::cmdline */
 
 extern std::ofstream tracing_file;
-namespace simgrid {
-namespace instr {
-namespace paje {
+namespace simgrid::instr::paje {
 
 void dump_generator_version()
 {
@@ -195,6 +194,4 @@ void dump_header(bool basic, bool display_sizes)
   tracing_file << "%       Value string" << std::endl;
   tracing_file << "%EndEventDef" << std::endl;
 }
-} // namespace paje
-} // namespace instr
-} // namespace simgrid
+} // namespace simgrid::instr::paje