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
another dynar dies
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
5bfa669
..
dfcb753
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-595,10
+595,8
@@
void sg_platf_new_process(sg_platf_process_cbarg_t process)
arg->hostname = sg_host_get_name(host);
arg->kill_time = kill_time;
arg->properties = current_property_set;
arg->hostname = sg_host_get_name(host);
arg->kill_time = kill_time;
arg->properties = current_property_set;
- if (!sg_host_simix(host)->boot_processes)
- sg_host_simix(host)->boot_processes = xbt_dynar_new(sizeof(smx_process_arg_t), _SIMIX_host_free_process_arg);
-
xbt_dynar_push_as(sg_host_simix(host)->boot_processes,smx_process_arg_t,
arg);
+
sg_host_simix(host)->boot_processes.push_back(
arg);
if (start_time > SIMIX_get_clock()) {
if (start_time > SIMIX_get_clock()) {