Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sed -i -e 's/\t/ /g' [sources] Please people, stop using tabs
[simgrid.git] / src / surf / network_constant.hpp
index a80825a..9ff6964 100644 (file)
@@ -40,7 +40,7 @@ public:
       tmgr_trace_t bw_trace,
       double lat_initial,
       tmgr_trace_t lat_trace,
-      e_surf_resource_state_t state_initial,
+      int initiallyOn,
       tmgr_trace_t state_trace,
       e_surf_link_sharing_policy_t policy,
       xbt_dict_t properties)          override { DIE_IMPOSSIBLE; }
@@ -56,12 +56,12 @@ public:
   : NetworkAction(model_, size, false)
   , m_latInit(latency)
   {
-       m_latency = latency;
-       if (m_latency <= 0.0) {
-         p_stateSet = getModel()->getDoneActionSet();
-         p_stateSet->push_back(*this);
-       }
-       p_variable = NULL;
+  m_latency = latency;
+  if (m_latency <= 0.0) {
+    p_stateSet = getModel()->getDoneActionSet();
+    p_stateSet->push_back(*this);
+  }
+  p_variable = NULL;
   };
   int unref() override;
   void cancel() override;