X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/455435b8a7cc8d84037aa66104a73d4760d9666f..681600546425819d6810e4e595d35e843130d878:/include/simgrid/s4u/As.hpp diff --git a/include/simgrid/s4u/As.hpp b/include/simgrid/s4u/As.hpp index 33fcb48e11..f025657357 100644 --- a/include/simgrid/s4u/As.hpp +++ b/include/simgrid/s4u/As.hpp @@ -27,7 +27,6 @@ namespace kernel { namespace routing { class AsImpl; class NetCard; - class BypassRoute; } } namespace s4u { @@ -56,7 +55,7 @@ public: /* Add content to the AS, at parsing time. It should be sealed afterward. */ 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); + virtual void addBypassRoute(sg_platf_route_cbarg_t e_route) = 0; /*** Called on each newly created regular route (not on bypass routes) */ static simgrid::xbt::signal, kernel::routing::BypassRoute*> - bypassRoutes_; // src x dst -> route xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes };