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