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_status.cpp
index 1c43dbcb7a2b178d5055a46ee2fe70ee8cd63637..675fb2e4fe2c935bd238c72eed70d48ba1fb7350 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-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. */
@@ -7,8 +7,7 @@
 #include "private.hpp"
 #include "smpi_datatype.hpp"
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 void Status::empty(MPI_Status * status)
 {
@@ -41,5 +40,4 @@ int Status::get_count(const MPI_Status* status, const Datatype* datatype)
   return status->count / datatype->size();
 }
 
-}
-}
+} // namespace simgrid::smpi