Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use member hooks for surf_interface
[simgrid.git] / src / surf / cpu_ti.cpp
index 21f92c5..00346bf 100644 (file)
@@ -881,7 +881,7 @@ int CpuTiAction::unref()
 {
   m_refcount--;
   if (!m_refcount) {
-       if (actionHook::is_linked())
+       if (action_hook.is_linked())
          getStateSet()->erase(getStateSet()->iterator_to(*this));
     /* remove from action_set */
     if (action_ti_hook.is_linked())