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
[SURF] NULL -> nullptr substitution
[simgrid.git]
/
src
/
surf
/
AsClusterTorus.cpp
diff --git
a/src/surf/AsClusterTorus.cpp
b/src/surf/AsClusterTorus.cpp
index
d53146e
..
946b349
100644
(file)
--- a/
src/surf/AsClusterTorus.cpp
+++ b/
src/surf/AsClusterTorus.cpp
@@
-91,7
+91,7
@@
namespace simgrid {
xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ",");
if (!xbt_dynar_is_empty(dimensions)) {
xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ",");
if (!xbt_dynar_is_empty(dimensions)) {
- dimensions_ = xbt_dynar_new(sizeof(int),
NULL
);
+ dimensions_ = xbt_dynar_new(sizeof(int),
nullptr
);
/* We are in a torus cluster
* Parse attribute dimensions="dim1,dim2,dim3,...,dimN"
* and safe it in a dynarray.
/* We are in a torus cluster
* Parse attribute dimensions="dim1,dim2,dim3,...,dimN"
* and safe it in a dynarray.