X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b1bf4b927630226493504bec19ea7356f8e70ff..ae6b6e727bc0b3b7726f48fbac4449c3a9c479a2:/src/surf/surf_routing.hpp?ds=sidebyside diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index bf34da15d5..274ff24135 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -16,7 +16,6 @@ #include #include -#include SG_BEGIN_DECL() XBT_PUBLIC(void) routing_model_create(Link *loopback); @@ -25,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; @@ -65,7 +64,7 @@ public: { if (containingAS != nullptr) id_ = containingAS->addComponent(this); - simgrid::surf::netcardCreatedCallbacks(this); + simgrid::routing::netcardCreatedCallbacks(this); } ~NetCardImpl() { xbt_free(name_);}; @@ -101,7 +100,7 @@ public: */ XBT_PUBLIC_CLASS RoutingPlatf { public: - RoutingPlatf(Link *loopback); + explicit RoutingPlatf(Link *loopback); ~RoutingPlatf(); AsImpl *root_ = nullptr; Link *loopback_;