X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/579d27969fbc1fa8004de922816a0068e52a9fa6..de57b34916659892d2dc26edabf552253afe2c18:/src/kernel/routing/EmptyZone.hpp diff --git a/src/kernel/routing/EmptyZone.hpp b/src/kernel/routing/EmptyZone.hpp index 09b2fda222..2ec0d85263 100644 --- a/src/kernel/routing/EmptyZone.hpp +++ b/src/kernel/routing/EmptyZone.hpp @@ -21,11 +21,16 @@ namespace routing { class XBT_PRIVATE EmptyZone : public NetZoneImpl { public: - explicit EmptyZone(NetZone* father, const char* name); + explicit EmptyZone(NetZone* father, std::string name); ~EmptyZone() override; - void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override; - void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override; + void getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override + { + /* There can't be route in an Empty zone */ + } + + void getGraph(xbt_graph_t graph, std::map* /*nodes*/, + std::map* /*edges*/) override; }; } }