Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / mc / Session.cpp
index 3e0fb61..7b4e357 100644 (file)
@@ -30,8 +30,7 @@
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session");
 XBT_LOG_EXTERNAL_CATEGORY(mc_global);
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 template <class Code> void run_child_process(int socket, Code code)
 {
@@ -176,5 +175,4 @@ void Session::check_deadlock() const
     throw DeadlockError();
   }
 }
-}
-}
+} // namespace simgrid::mc