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
dynar to std::vector
[simgrid.git]
/
src
/
surf
/
ptask_L07.cpp
diff --git
a/src/surf/ptask_L07.cpp
b/src/surf/ptask_L07.cpp
index
f28844b
..
437bd9c
100644
(file)
--- a/
src/surf/ptask_L07.cpp
+++ b/
src/surf/ptask_L07.cpp
@@
-27,7
+27,7
@@
void surf_host_model_init_ptask_L07()
xbt_assert(!surf_network_model, "network model type already defined");
surf_host_model = new simgrid::surf::HostL07Model();
-
xbt_dynar_push(all_existing_models, &
surf_host_model);
+
all_existing_models->push_back(
surf_host_model);
}