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

Public GIT Repository
store the VMs by their interface, not by their implementation
[simgrid.git] / src / surf / network_constant.cpp
index be179760ab6de29b01d3d9e965e7d8cbccd13791..1310bf6433a77fc403262743f5f05140d62b034e 100644 (file)
@@ -90,12 +90,11 @@ namespace simgrid {
     {
       latency_ = latency;
       if (latency_ <= 0.0) {
-        stateSet_ = getModel()->getDoneActionSet();
+        stateSet_ = model_->getDoneActionSet();
         stateSet_->push_back(*this);
       }
     };
 
-    NetworkConstantAction::~NetworkConstantAction() {}
-
+    NetworkConstantAction::~NetworkConstantAction() = default;
   }
 }