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
further progress towards deprecation of complex add_route
[simgrid.git]
/
examples
/
platforms
/
routing_cluster.cpp
diff --git
a/examples/platforms/routing_cluster.cpp
b/examples/platforms/routing_cluster.cpp
index
0f51172
..
b7b218f
100644
(file)
--- a/
examples/platforms/routing_cluster.cpp
+++ b/
examples/platforms/routing_cluster.cpp
@@
-40,9
+40,9
@@
static sg4::NetZone* create_cluster(const sg4::NetZone* root, const std::string&
sg4::LinkInRoute link_down{l_down};
/* add link UP and backbone for communications from the host */
sg4::LinkInRoute link_down{l_down};
/* add link UP and backbone for communications from the host */
- cluster->add_route(host
->get_netpoint(), nullptr, nullptr
, nullptr, {link_up, backbone}, false);
+ cluster->add_route(host, nullptr, {link_up, backbone}, false);
/* add backbone and link DOWN for communications to the host */
/* add backbone and link DOWN for communications to the host */
- cluster->add_route(nullptr, host
->get_netpoint(), nullptr, nullptr
, {backbone, link_down}, false);
+ cluster->add_route(nullptr, host, {backbone, link_down}, false);
}
/* create gateway*/
}
/* create gateway*/