X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/013aee5c38d6c531af7a469a89d6474a19233d3f..fb33f893495b18dc7a0e13182b901d4cf662150f:/include/simgrid/s4u/NetZone.hpp?ds=sidebyside diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index dd1f5e1422..38cfab22c4 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -40,7 +40,7 @@ protected: explicit NetZone(NetZone * father, const char* name); virtual ~NetZone(); - std::vector* hosts_ = nullptr; + std::vector* hosts_ = new std::vector(); public: /** @brief Seal your netzone once you're done adding content, and before routing stuff through it */