Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / smpi / colls / alltoall / alltoall-mvapich-scatter-dest.cpp
index 0930b20..907a956 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. 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
@@ -90,9 +90,9 @@ int alltoall__mvapich2_scatter_dest(const void *sendbuf,
 
     /* FIXME: This should use the memory macros (there are storage
      leaks here if there is an error, for example) */
-    MPI_Request* reqarray = new MPI_Request[2 * bblock];
+    auto* reqarray = new MPI_Request[2 * bblock];
 
-    MPI_Status* starray = new MPI_Status[2 * bblock];
+    auto* starray = new MPI_Status[2 * bblock];
 
     for (ii=0; ii<comm_size; ii+=bblock) {
         ss = comm_size-ii < bblock ? comm_size-ii : bblock;