X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e21809119a2053427dfbb553cec0f4b48ba038f..aefa2bf43e356ce591f9d7f67904d0db61e34e99:/src/surf/network_constant.cpp diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index 111988202e..3421c67663 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -103,7 +103,7 @@ int NetworkConstantAction::unref() { m_refcount--; if (!m_refcount) { - if (actionHook::is_linked()) + if (action_hook.is_linked()) p_stateSet->erase(p_stateSet->iterator_to(*this)); delete this; return 1;