X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f7c345a00e92ff915252ae30043dc90ca9a48686..fc8be6494932e66a359ae5d47103a566cc8234f4:/include/simgrid/kernel/routing/NetZoneImpl.hpp diff --git a/include/simgrid/kernel/routing/NetZoneImpl.hpp b/include/simgrid/kernel/routing/NetZoneImpl.hpp index 9e8090536b..260661c2d8 100644 --- a/include/simgrid/kernel/routing/NetZoneImpl.hpp +++ b/include/simgrid/kernel/routing/NetZoneImpl.hpp @@ -51,7 +51,7 @@ class XBT_PUBLIC NetZoneImpl { friend simgrid::kernel::EngineImpl; // it destroys netRoot_ protected: - explicit NetZoneImpl(NetZoneImpl* father, std::string name); + explicit NetZoneImpl(NetZoneImpl* father, std::string name, resource::NetworkModel* network_model); virtual ~NetZoneImpl(); public: @@ -86,6 +86,9 @@ protected: bool get_bypass_route(routing::NetPoint* src, routing::NetPoint* dst, /* OUT */ std::vector& links, double* latency); +public: + resource::NetworkModel* network_model_; + private: s4u::NetZone piface_;