X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6cc4e43479c46e58586d91af850f5420f4d77312..0d7bbc539130580c39e12e289255dd6c1ba18bdc:/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;