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

Public GIT Repository
[sonar] Replace redundant type with "auto" (src/mc/).
[simgrid.git] / src / smpi / include / smpi_errhandler.hpp
index 30309016edd4fec6b7857e725239ed2fcc3a5f3e..cc47cdeab55ddbcb771ea18b78ebaac51861d0ea 100644 (file)
@@ -25,9 +25,9 @@ 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);
 };