X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/808bc801011b8291383a7fb87669eb67f46f3a07..d785a64b1830b6a5d05561316ef7161ee1c67671:/include/simgrid/s4u/As.hpp diff --git a/include/simgrid/s4u/As.hpp b/include/simgrid/s4u/As.hpp index 32d50b595f..50c4854814 100644 --- a/include/simgrid/s4u/As.hpp +++ b/include/simgrid/s4u/As.hpp @@ -23,9 +23,11 @@ namespace simgrid { namespace surf { class Link; } -namespace routing { - class AsImpl; - class NetCard; +namespace kernel { + namespace routing { + class AsImpl; + class NetCard; + } } namespace s4u { @@ -36,7 +38,7 @@ namespace s4u { */ XBT_PUBLIC_CLASS As { protected: - friend simgrid::routing::AsImpl; + friend simgrid::kernel::routing::AsImpl; explicit As(const char *name); virtual ~As(); @@ -52,7 +54,7 @@ public: As *father_ = nullptr; // FIXME: hide me public: /* Add content to the AS, at parsing time. It should be sealed afterward. */ - virtual int addComponent(routing::NetCard *elm); /* A host, a router or an AS, whatever */ + virtual int addComponent(kernel::routing::NetCard *elm); /* A host, a router or an AS, whatever */ virtual void addRoute(sg_platf_route_cbarg_t route); void addBypassRoute(sg_platf_route_cbarg_t e_route);