Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / colls / reduce / reduce-NTSL.cpp
index a0b2925..27eb434 100644 (file)
@@ -12,8 +12,7 @@ int reduce_NTSL_segment_size_in_byte = 8192;
 /* Non-topology-specific pipelined linear-bcast function
    0->1, 1->2 ,2->3, ....., ->last node : in a pipeline fashion
 */
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
 int reduce__NTSL(const void *buf, void *rbuf, int count,
                  MPI_Datatype datatype, MPI_Op op, int root,
                  MPI_Comm comm)
@@ -140,5 +139,4 @@ int reduce__NTSL(const void *buf, void *rbuf, int count,
   smpi_free_tmp_buffer(tmp_buf);
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi