X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/299c52751d8bf7ed4f9fc40f668025a5cb425901..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/smpi/include/smpi_status.hpp?ds=sidebyside diff --git a/src/smpi/include/smpi_status.hpp b/src/smpi/include/smpi_status.hpp index 4018f9e71d..49dd797e51 100644 --- a/src/smpi/include/smpi_status.hpp +++ b/src/smpi/include/smpi_status.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2019. The SimGrid Team. +/* Copyright (c) 2009-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -17,10 +17,10 @@ namespace smpi{ class Status{ public: static void empty(MPI_Status * status); -static int cancelled (MPI_Status * status); +static int cancelled (const MPI_Status * status); static void set_cancelled (MPI_Status * status, int flag); -static void set_elements (MPI_Status * status, MPI_Datatype , int count); -static int get_count(MPI_Status * status, MPI_Datatype datatype); +static void set_elements(MPI_Status* status, const Datatype*, int count); +static int get_count(const MPI_Status* status, const Datatype* datatype); };