]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/gather/gather-ompi.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce scope for variables.
[simgrid.git] / src / smpi / colls / gather / gather-ompi.cpp
index 4c28dd9d5a3a031566d4f2c59cb3a8f3e14e6e65..6ee45a8b77541119f78855e6e95f08790f265817 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2021. The SimGrid Team.
+/* Copyright (c) 2013-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -22,8 +22,7 @@
 #include "../coll_tuned_topo.hpp"
 #include "../colls_private.hpp"
 
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
 
 int gather__ompi_binomial(const void* sbuf, int scount, MPI_Datatype sdtype, void* rbuf, int rcount,
                           MPI_Datatype rdtype, int root, MPI_Comm comm)
@@ -409,5 +408,4 @@ int gather__ompi_basic_linear(const void* sbuf, int scount, MPI_Datatype sdtype,
     return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi