Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: rename some fields and methods in surf::Action
[simgrid.git] / src / surf / storage_n11.cpp
index d7c60e3..9c95154 100644 (file)
@@ -143,7 +143,7 @@ int StorageN11Action::unref()
 {
   refcount_--;
   if (not refcount_) {
-    if (action_hook.is_linked())
+    if (stateSetHook_.is_linked())
       simgrid::xbt::intrusive_erase(*stateSet_, *this);
     if (getVariable())
       getModel()->getMaxminSystem()->variable_free(getVariable());