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
[TESHSUITE] NULL -> nullptr substitution
[simgrid.git]
/
teshsuite
/
surf
/
surf_usage
/
surf_usage.cpp
diff --git
a/teshsuite/surf/surf_usage/surf_usage.cpp
b/teshsuite/surf/surf_usage/surf_usage.cpp
index
3eeab96
..
949c7be
100644
(file)
--- a/
teshsuite/surf/surf_usage/surf_usage.cpp
+++ b/
teshsuite/surf/surf_usage/surf_usage.cpp
@@
-38,8
+38,8
@@
int main(int argc, char **argv)
{
double now = -1.0;
surf_init(&argc, argv); /* Initialize some common structures */
- xbt_cfg_set_
string("cpu/model","
Cas01");
- xbt_cfg_set_
string("network/model","
CM02");
+ xbt_cfg_set_
parse("cpu/model:
Cas01");
+ xbt_cfg_set_
parse("network/model:
CM02");
xbt_assert(argc >1, "Usage : %s platform.txt\n", argv[0]);
parse_platform_file(argv[1]);
@@
-74,7
+74,7
@@
int main(int argc, char **argv)
surf_solve(-1.0);
do {
- surf_action_t action =
NULL
;
+ surf_action_t action =
nullptr
;
now = surf_get_clock();
XBT_INFO("Next Event : %g", now);
XBT_DEBUG("\t CPU actions");