Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a destructor to the NetworkNS3Model to cleanup the ns-3 side
[simgrid.git] / src / surf / network_ns3.hpp
index 857ee4c..09f681f 100644 (file)
@@ -17,6 +17,7 @@ namespace resource {
 class NetworkNS3Model : public NetworkModel {
 public:
   explicit NetworkNS3Model(const std::string& name);
+  ~NetworkNS3Model();
   StandardLinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidth) override;
   StandardLinkImpl* create_wifi_link(const std::string& name, const std::vector<double>& bandwidth) override;
   Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;