Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / include / smpi_topo.hpp
index cdce35a..0f5ff72 100644 (file)
@@ -12,8 +12,7 @@
 
 using MPI_Topology = std::shared_ptr<SMPI_Topology>;
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 class Topo {
   MPI_Comm comm_ = MPI_COMM_NULL;
@@ -56,8 +55,6 @@ class Topo_Dist_Graph: public Topo {
   std::vector<int> out_weights_;
 };
 
-}
-}
-
+} // namespace simgrid::smpi
 
 #endif