]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/include/smpi_errhandler.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'Adrien.Gougeon/simgrid-master'
[simgrid.git] / src / smpi / include / smpi_errhandler.hpp
index 61750edba51dd88e67ec2311b2b70d0be9e69b90..cc47cdeab55ddbcb771ea18b78ebaac51861d0ea 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team.
+/* Copyright (c) 2010-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -25,15 +25,13 @@ class Errhandler: public F2C {
   explicit Errhandler(MPI_File_errhandler_fn *function):file_func_(function){};
   explicit Errhandler(MPI_Win_errhandler_fn *function):win_func_(function){};
   void ref();
-  void call(MPI_Comm comm, int errorcode);
-  void call(MPI_Win win, int errorcode);
-  void call(MPI_File file, int errorcode);
+  void call(MPI_Comm comm, int errorcode) const;
+  void call(MPI_Win win, int errorcode) const;
+  void call(MPI_File file, int errorcode) const;
   static void unref(Errhandler* errhandler);
   static Errhandler* f2c(int id);
-
 };
-  
 }
 }
 
-#endif
\ No newline at end of file
+#endif