X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc1369e2055686dde3d178efb2001dbad8972d54..e295c984a0d5f6ba7d8ae0e802a46d1b642c2ba2:/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 */