A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modern C++ use "auto".
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-2dmesh.cpp
diff --git
a/src/smpi/colls/allgather/allgather-2dmesh.cpp
b/src/smpi/colls/allgather/allgather-2dmesh.cpp
index
10f41b5
..
6e6ffd6
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-2dmesh.cpp
+++ b/
src/smpi/colls/allgather/allgather-2dmesh.cpp
@@
-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