X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5be6b677d03fe86873a5987f577db57c8a362ee5..97649330a50bb45407df6b741a9126c24cc000af:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index b3b3c18293..b0accf1e76 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -40,7 +40,6 @@ protected: explicit NetZone(NetZone * father, const char* name); virtual ~NetZone(); - std::vector hosts_; public: /** @brief Seal your netzone once you're done adding content, and before routing stuff through it */ @@ -49,7 +48,7 @@ public: NetZone* father(); std::vector* children(); // Sub netzones - std::vector* hosts(); // my content as a vector of hosts + void hosts(std::vector * whereto); // retrieve my content as a vector of hosts /** Get the properties assigned to a host */ std::unordered_map* properties();