Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / smpi / colls / alltoallv / alltoallv-bruck.cpp
index 2ed596d..f6bc827 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team.
+/* Copyright (c) 2013-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -49,7 +49,7 @@ int alltoallv__bruck(const void *sendbuf, const int *sendcounts, const int *send
     int ii, ss, dst;
     /* post only bblock isends/irecvs at a time as suggested by Tony Ladd */
     for (ii = 0; ii < size; ii += bblock) {
-      MPI_Request* requests = new MPI_Request[2 * bblock];
+      auto* requests = new MPI_Request[2 * bblock];
 
       ss    = size - ii < bblock ? size - ii : bblock;
       count = 0;