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
Prefer nullptr and bool literals.
[simgrid.git]
/
src
/
smpi
/
colls
/
allgatherv
/
allgatherv-mpich-ring.cpp
diff --git
a/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp
b/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp
index
e923db5
..
026e817
100644
(file)
--- a/
src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp
+++ b/
src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp
@@
-34,7
+34,7
@@
int allgatherv__mpich_ring(const void *sendbuf, int sendcount,
MPI_Comm comm)
{
- char *
sbuf = NULL, * rbuf = NULL
;
+ char *
sbuf = nullptr, *rbuf = nullptr
;
int soffset, roffset;
int torecv=0, tosend=0, min, rank, comm_size;
int sendnow, recvnow;