]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/mpi/smpi_file.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mcapi::restore_initial_state() in replay()
[simgrid.git] / src / smpi / mpi / smpi_file.cpp
index 872d9a7e3c9ed4338b3c0e0d387ec6c7a75508d3..bccba0d24931cc3f95387633dc259b33bad66837 100644 (file)
@@ -98,7 +98,7 @@ namespace smpi{
   int File::del(const char* filename, const Info*)
   {
     //get the file with MPI_MODE_DELETE_ON_CLOSE and then close it
-    File* f = new File(MPI_COMM_SELF,filename,MPI_MODE_DELETE_ON_CLOSE|MPI_MODE_RDWR, nullptr);
+    auto* f = new File(MPI_COMM_SELF, filename, MPI_MODE_DELETE_ON_CLOSE | MPI_MODE_RDWR, nullptr);
     close(&f);
     return MPI_SUCCESS;
   }