X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed511a15702f5a82f740888d43348bc1c7e07205..c7d4536a8384832da2a1d7b9bb9109100aaa0eb2:/src/surf/surf_routing.hpp?ds=sidebyside diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index e48ee7b001..274ff24135 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -24,7 +24,7 @@ XBT_PRIVATE xbt_edge_t new_xbt_graph_edge (xbt_graph_t graph, xbt_node_t s, xbt_ SG_END_DECL() namespace simgrid { -namespace surf { +namespace routing { XBT_PUBLIC_DATA(simgrid::xbt::signal) asCreatedCallbacks; XBT_PUBLIC_DATA(simgrid::xbt::signal) netcardCreatedCallbacks; @@ -64,7 +64,7 @@ public: { if (containingAS != nullptr) id_ = containingAS->addComponent(this); - simgrid::surf::netcardCreatedCallbacks(this); + simgrid::routing::netcardCreatedCallbacks(this); } ~NetCardImpl() { xbt_free(name_);}; @@ -100,7 +100,7 @@ public: */ XBT_PUBLIC_CLASS RoutingPlatf { public: - RoutingPlatf(Link *loopback); + explicit RoutingPlatf(Link *loopback); ~RoutingPlatf(); AsImpl *root_ = nullptr; Link *loopback_;