Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix indentation to please gcc 6
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 7 Feb 2016 11:24:36 +0000 (12:24 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 7 Feb 2016 11:24:36 +0000 (12:24 +0100)
src/surf/cpu_ti.cpp

index 1cd22a7..01beca9 100644 (file)
@@ -839,8 +839,8 @@ int CpuTiAction::unref()
 {
   m_refcount--;
   if (!m_refcount) {
 {
   m_refcount--;
   if (!m_refcount) {
-  if (action_hook.is_linked())
-    getStateSet()->erase(getStateSet()->iterator_to(*this));
+    if (action_hook.is_linked())
+      getStateSet()->erase(getStateSet()->iterator_to(*this));
     /* remove from action_set */
     if (action_ti_hook.is_linked())
       p_cpu->p_actionSet->erase(p_cpu->p_actionSet->iterator_to(*this));
     /* remove from action_set */
     if (action_ti_hook.is_linked())
       p_cpu->p_actionSet->erase(p_cpu->p_actionSet->iterator_to(*this));