]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/allgather/allgather-2dmesh.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / smpi / colls / allgather / allgather-2dmesh.cpp
index e1810a32bd366b21f21cea7376855fa4ca599e85..1189a1d9bcdcd98b964266186caa6abe2d3c44b7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. 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
@@ -139,7 +139,7 @@ allgather__2dmesh(const void *send_buff, int send_count, MPI_Datatype
   if (Y > X)
     num_reqs = Y;
 
-  MPI_Request* req     = new MPI_Request[num_reqs];
+  auto* req            = new MPI_Request[num_reqs];
   MPI_Request* req_ptr = req;
 
   // do local allgather/local copy