X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07c12189c716ea527ddcf8f8b55983213dead2bf..a8e449cf588e53c1d83aef41a1cbb07995a291c9:/src/kernel/routing/EmptyZone.hpp diff --git a/src/kernel/routing/EmptyZone.hpp b/src/kernel/routing/EmptyZone.hpp index 90036ff87d..888d744e15 100644 --- a/src/kernel/routing/EmptyZone.hpp +++ b/src/kernel/routing/EmptyZone.hpp @@ -21,10 +21,14 @@ 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(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override; + void getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override + { + /* There can't be route in an Empty zone */ + } + void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override; }; }