Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use member hooks for surf_interface
[simgrid.git] / src / surf / storage_n11.cpp
index 7d73325..8fc1ede 100644 (file)
@@ -498,7 +498,7 @@ int StorageN11Action::unref()
 {
   m_refcount--;
   if (!m_refcount) {
 {
   m_refcount--;
   if (!m_refcount) {
-       if (actionHook::is_linked())
+       if (action_hook.is_linked())
          p_stateSet->erase(p_stateSet->iterator_to(*this));
     if (getVariable())
       lmm_variable_free(getModel()->getMaxminSystem(), getVariable());
          p_stateSet->erase(p_stateSet->iterator_to(*this));
     if (getVariable())
       lmm_variable_free(getModel()->getMaxminSystem(), getVariable());