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

Public GIT Repository
Reduce scope for variables.
[simgrid.git] / src / smpi / colls / allgatherv / allgatherv-GB.cpp
index 98d2c9a262690421ee78f3326bd27b67ac5f7ff7..a168ce99269e2c6021851b3cfd3e78bd03223e09 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. 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
@@ -6,8 +6,7 @@
 
 #include "../colls_private.hpp"
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 // Allgather - gather/bcast algorithm
 int allgatherv__GB(const void *send_buff, int send_count,
@@ -28,5 +27,4 @@ int allgatherv__GB(const void *send_buff, int send_count,
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi