Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 15 Nov 2016 23:05:48 +0000 (00:05 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 15 Nov 2016 23:05:48 +0000 (00:05 +0100)
src/surf/network_constant.cpp

index be17976..1310bf6 100644 (file)
@@ -90,12 +90,11 @@ namespace simgrid {
     {
       latency_ = latency;
       if (latency_ <= 0.0) {
     {
       latency_ = latency;
       if (latency_ <= 0.0) {
-        stateSet_ = getModel()->getDoneActionSet();
+        stateSet_ = model_->getDoneActionSet();
         stateSet_->push_back(*this);
       }
     };
 
         stateSet_->push_back(*this);
       }
     };
 
-    NetworkConstantAction::~NetworkConstantAction() {}
-
+    NetworkConstantAction::~NetworkConstantAction() = default;
   }
 }
   }
 }