X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2738598c9f876339ee6f8b3fc217984b7b837539..a5a8281d1b8c42bbdb10d492d7251b35759ea32d:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index e41fed0fe3..609542f022 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -27,8 +27,7 @@ class XBT_PUBLIC NetZone { protected: friend kernel::routing::NetZoneImpl; - explicit NetZone(kernel::routing::NetZoneImpl* impl); - ~NetZone(); + explicit NetZone(kernel::routing::NetZoneImpl* impl) : pimpl_(impl) {} public: /** @brief Retrieves the name of that netzone as a C++ string */