]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_ns3.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rely on template argument deduction (sonar, c++17).
[simgrid.git] / src / surf / network_ns3.hpp
index 857ee4ccd3647ee5efc8ad1f57b21be414fabe6d..275d45d274fca74a1d006cb7db53da83b6e2e74f 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "xbt/base.h"
 
+#include "src/kernel/resource/NetworkModel.hpp"
 #include "src/kernel/resource/StandardLinkImpl.hpp"
 
 namespace simgrid {
@@ -17,6 +18,7 @@ namespace resource {
 class NetworkNS3Model : public NetworkModel {
 public:
   explicit NetworkNS3Model(const std::string& name);
+  ~NetworkNS3Model() override;
   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;