Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
[simgrid.git] / src / surf / network_constant.cpp
index be17976..1310bf6 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;
   }
 }