Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / colls / allreduce / allreduce-redbcast.cpp
index 9d1e5f1..dc2eea5 100644 (file)
@@ -5,8 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.hpp"
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 int allreduce__redbcast(const void *buf, void *buf2, int count,
                         MPI_Datatype datatype, MPI_Op op,
                         MPI_Comm comm)
@@ -15,5 +14,4 @@ int allreduce__redbcast(const void *buf, void *buf2, int count,
   colls::bcast(buf2, count, datatype, 0, comm);
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi