X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..e1b4987a80f98fb1266086561cefef20c1993a6b:/src/smpi/mpi/smpi_status.cpp diff --git a/src/smpi/mpi/smpi_status.cpp b/src/smpi/mpi/smpi_status.cpp index 7c8d6e1d9e..b048fe74bc 100644 --- a/src/smpi/mpi/smpi_status.cpp +++ b/src/smpi/mpi/smpi_status.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. 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. */ @@ -32,7 +32,8 @@ void Status::set_cancelled(MPI_Status * status, int flag) status->cancelled=flag; } -void Status::set_elements (MPI_Status * status, MPI_Datatype , int count){ +void Status::set_elements(MPI_Status* status, const Datatype*, int count) +{ status->count=count; }