X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/271068c7d949ed959313b055466e13539485bc2c..393cd3ada1b9255734f91a4b1971ad9850af808b:/src/smpi/colls/allgather/allgather-spreading-simple.cpp diff --git a/src/smpi/colls/allgather/allgather-spreading-simple.cpp b/src/smpi/colls/allgather/allgather-spreading-simple.cpp index 06332d53be..6a0b5f4dc7 100644 --- a/src/smpi/colls/allgather/allgather-spreading-simple.cpp +++ b/src/smpi/colls/allgather/allgather-spreading-simple.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. The SimGrid Team. +/* Copyright (c) 2013-2020. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -89,7 +89,7 @@ allgather__spreading_simple(const void *send_buff, int send_count, extent = send_type->get_extent(); num_reqs = (2 * num_procs) - 2; - MPI_Request* reqs = new MPI_Request[num_reqs]; + auto* reqs = new MPI_Request[num_reqs]; MPI_Request* req_ptr = reqs; Request::sendrecv(send_buff, send_count, send_type, rank, tag, (char *) recv_buff + rank * recv_count * extent, recv_count,