Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ns3: gosh this code is ugly
[simgrid.git] / src / surf / network_constant.hpp
index a15b173..214993d 100644 (file)
@@ -46,8 +46,8 @@ namespace simgrid {
     : NetworkAction(model_, size, false)
     , m_latInit(latency)
     {
-        m_latency = latency;
-        if (m_latency <= 0.0) {
+        latency_ = latency;
+        if (latency_ <= 0.0) {
           p_stateSet = getModel()->getDoneActionSet();
           p_stateSet->push_back(*this);
         }