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]
/
teshsuite
/
xbt
/
parmap_bench
/
parmap_bench.cpp
diff --git
a/teshsuite/xbt/parmap_bench/parmap_bench.cpp
b/teshsuite/xbt/parmap_bench/parmap_bench.cpp
index
789ee42
..
6b19832
100644
(file)
--- a/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
+++ b/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
@@
-128,7
+128,7
@@
int main(int argc, char* argv[])
}
timeout = atof(argv[2]);
if (argc == 4)
}
timeout = atof(argv[2]);
if (argc == 4)
- modes = static_cast<unsigned>(strtoul(argv[2],
NULL
, 0));
+ modes = static_cast<unsigned>(strtoul(argv[2],
nullptr
, 0));
XBT_INFO("Parmap benchmark with %d workers (modes = %#x)...", nthreads, modes);
XBT_INFO("%s", "");
XBT_INFO("Parmap benchmark with %d workers (modes = %#x)...", nthreads, modes);
XBT_INFO("%s", "");