Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Polymorphic base class destructor should be either public virtual or protected non...
[simgrid.git] / include / simgrid / kernel / resource / NetworkModelIntf.hpp
index b1dd2cf..ee1c446 100644 (file)
@@ -19,6 +19,9 @@ namespace resource {
  * @brief Network Model interface class
  */
 class XBT_PUBLIC NetworkModelIntf {
+protected:
+  ~NetworkModelIntf() = default;
+
 public:
   /**
    * @brief Callback to set the bandwidth and latency factors used in a communication
@@ -47,4 +50,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SIMGRID_KERNEL_RESOURCE_NETWORKMODELINTF_HPP */
\ No newline at end of file
+#endif /* SIMGRID_KERNEL_RESOURCE_NETWORKMODELINTF_HPP */