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

Public GIT Repository
Change "if(...) xbt_die(...)" to "xbt_assert(...)".
[simgrid.git] / src / smpi / colls / bcast / bcast-flattree.cpp
index 8b367f3271cb21885989a9315dcd366164a1a358..58e6e8b0ed7571abb901cbd2136bb33de1c74672 100644 (file)
@@ -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
@@ -21,7 +21,7 @@ int bcast__flattree(void *buff, int count, MPI_Datatype data_type,
   }
 
   else {
-    MPI_Request* reqs    = new MPI_Request[num_procs - 1];
+    auto* reqs           = new MPI_Request[num_procs - 1];
     MPI_Request* req_ptr = reqs;
 
     // Root sends data to all others