Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / xbt / string.cpp
index 7468c3b..412b22e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-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. */
@@ -10,8 +10,7 @@
 #include <cstdarg>
 #include <cstdio>
 
-namespace simgrid {
-namespace xbt {
+namespace simgrid::xbt {
 
 #if SIMGRID_HAVE_MC
 
@@ -52,5 +51,4 @@ std::string string_printf(const char *fmt, ...)
   return res;
 }
 
-}
-}
+} // namespace simgrid::xbt