X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/smpi/colls/bcast/bcast-NTSL.cpp diff --git a/src/smpi/colls/bcast/bcast-NTSL.cpp b/src/smpi/colls/bcast/bcast-NTSL.cpp index 1029e93813..c140e2481c 100644 --- a/src/smpi/colls/bcast/bcast-NTSL.cpp +++ b/src/smpi/colls/bcast/bcast-NTSL.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2020. The SimGrid Team. +/* Copyright (c) 2013-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -72,10 +72,10 @@ int bcast__NTSL(void *buf, int count, MPI_Datatype datatype, /* pipeline bcast */ else { - MPI_Request* send_request_array = new MPI_Request[size + pipe_length]; - MPI_Request* recv_request_array = new MPI_Request[size + pipe_length]; - MPI_Status* send_status_array = new MPI_Status[size + pipe_length]; - MPI_Status* recv_status_array = new MPI_Status[size + pipe_length]; + auto* send_request_array = new MPI_Request[size + pipe_length]; + auto* recv_request_array = new MPI_Request[size + pipe_length]; + auto* send_status_array = new MPI_Status[size + pipe_length]; + auto* recv_status_array = new MPI_Status[size + pipe_length]; /* root send data */ if (rank == 0) {