Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(painfully) constify colls.
[simgrid.git] / src / smpi / colls / alltoallv / alltoallv-ring-one-barrier.cpp
index cb8e063..de58b9f 100644 (file)
@@ -28,9 +28,9 @@
 namespace simgrid{
 namespace smpi{
 int
-Coll_alltoallv_ring_one_barrier::alltoallv(void *send_buff, int *send_counts, int *send_disps,
+Coll_alltoallv_ring_one_barrier::alltoallv(const void *send_buff, const int *send_counts, const int *send_disps,
                                           MPI_Datatype send_type,
-                                          void *recv_buff, int *recv_counts, int *recv_disps,
+                                          void *recv_buff, const int *recv_counts, const int *recv_disps,
                                           MPI_Datatype recv_type, MPI_Comm comm)
 {
   MPI_Status s;