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

Public GIT Repository
kill is_replayable() for datatypes.
[simgrid.git] / src / smpi / mpi / smpi_status.cpp
index 2d0f92e6b1f1c2220abb1811dfaecfec70347331..f0574008e70d83fab4af6344d8fb97dc027c06fa 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2021. 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. */
@@ -37,7 +37,7 @@ void Status::set_elements(MPI_Status* status, const Datatype*, int count)
   status->count=count;
 }
 
-int Status::get_count(const MPI_Status * status, MPI_Datatype datatype)
+int Status::get_count(const MPI_Status* status, const Datatype* datatype)
 {
   return status->count / datatype->size();
 }