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
make the host callbacks static to surf::Host instead of globals
[simgrid.git]
/
src
/
surf
/
network_constant.cpp
diff --git
a/src/surf/network_constant.cpp
b/src/surf/network_constant.cpp
index
c6bd1b3
..
9f045db
100644
(file)
--- a/
src/surf/network_constant.cpp
+++ b/
src/surf/network_constant.cpp
@@
-27,7
+27,7
@@
void surf_network_model_init_Constant()
routing_model_create(NULL);
- simgrid::surf::
hostCreated
Callbacks.connect([](simgrid::surf::Host*) {
+ simgrid::surf::
Host::creation
Callbacks.connect([](simgrid::surf::Host*) {
host_number_int++;
});
sg_platf_link_add_cb(netcste_parse_nolink);