Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework the doc of model-check/replay, and add an example with sthread
[simgrid.git] / src / smpi / mpi / smpi_op.cpp
index d2e9c50f1823f0f029f9a65c3143cdead6603f50..20246473e07944b7ea026885badfb516b58f0648 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -260,8 +260,7 @@ CREATE_MPI_OP(MINLOC, minloc_func, DT_FLAG_REDUCTION)
 CREATE_MPI_OP(REPLACE, replace_func, 0)
 CREATE_MPI_OP(NO_OP, no_func, 0)
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 void Op::apply(const void* invec, void* inoutvec, const int* len, MPI_Datatype datatype) const
 {
@@ -299,5 +298,4 @@ void Op::unref(MPI_Op* op){
   }
 }
 
-}
-}
+} // namespace simgrid::smpi