Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(painfully) constify colls.
[simgrid.git] / src / smpi / colls / allgatherv / allgatherv-mpich-ring.cpp
index c0d9dc925d39c2573e10368b10710004da953633..155b24f61dd6e323ba479d63fa5270b1a5ff9561 100644 (file)
@@ -29,9 +29,9 @@ namespace simgrid{
 namespace smpi{
 
 int
-Coll_allgatherv_mpich_ring::allgatherv(void *sendbuf, int sendcount,
+Coll_allgatherv_mpich_ring::allgatherv(const void *sendbuf, int sendcount,
     MPI_Datatype send_type, void *recvbuf,
-    int *recvcounts, int *displs, MPI_Datatype recvtype,
+    const int *recvcounts, const int *displs, MPI_Datatype recvtype,
     MPI_Comm comm)
 {