X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ddabdf505ca5684fbcc0a4000ca27b89b4732abc..9464eee80e78ebd7783dfa03dcf777a173a14025:/src/surf/surf_routing_none.hpp diff --git a/src/surf/surf_routing_none.hpp b/src/surf/surf_routing_none.hpp index 6a82602d36..78716e797c 100644 --- a/src/surf/surf_routing_none.hpp +++ b/src/surf/surf_routing_none.hpp @@ -7,6 +7,8 @@ #include #include "surf_routing.hpp" +#include "simgrid/s4u/as.hpp" + #ifndef SURF_ROUTING_NONE_HPP_ #define SURF_ROUTING_NONE_HPP_ @@ -15,13 +17,12 @@ namespace simgrid { namespace surf { /** No specific routing. Mainly useful with the constant network model */ -class XBT_PRIVATE AsNone : public As { +class XBT_PRIVATE AsNone : public s4u::As { public: AsNone(const char*name); ~AsNone(); void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override; - xbt_dynar_t getOneLinkRoutes() override; void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override; };