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_errhandler.cpp
index 74e224226fd35fa1436c3b56a969e5bb52785dea..d784da58dcd1b93d9ef4db31df7f6d609e7e7d71 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. */
@@ -11,8 +11,7 @@
 simgrid::smpi::Errhandler smpi_MPI_ERRORS_RETURN;
 simgrid::smpi::Errhandler smpi_MPI_ERRORS_ARE_FATAL;
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 MPI_Errhandler Errhandler::f2c(int id) {
   if (F2C::lookup() != nullptr && id >= 0) {
@@ -52,6 +51,4 @@ void Errhandler::unref(Errhandler* errhandler){
   }
 }
 
-}
-
-}
+} // namespace simgrid::smpi