X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/88f49b34e91fe95b712d1545ae71a0896f5466c1..5e1fa53a0d0ae78cebae28364e6802aa1db1cba3:/src/smpi/colls/bcast/bcast-SMP-linear.cpp diff --git a/src/smpi/colls/bcast/bcast-SMP-linear.cpp b/src/smpi/colls/bcast/bcast-SMP-linear.cpp index c91a4a34d3..a12aabfa2a 100644 --- a/src/smpi/colls/bcast/bcast-SMP-linear.cpp +++ b/src/smpi/colls/bcast/bcast-SMP-linear.cpp @@ -96,8 +96,8 @@ int bcast__SMP_linear(void *buf, int count, } // pipeline bcast else { - MPI_Request* request_array = new MPI_Request[size + pipe_length]; - MPI_Status* status_array = new MPI_Status[size + pipe_length]; + auto* request_array = new MPI_Request[size + pipe_length]; + auto* status_array = new MPI_Status[size + pipe_length]; // case ROOT of each SMP if (rank % num_core == 0) {