X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c..79739657970ffcf609c1e90f6112e8f5a8583801:/src/surf/ptask_L07.cpp diff --git a/src/surf/ptask_L07.cpp b/src/surf/ptask_L07.cpp index a613ff30d6..b6700367cb 100644 --- a/src/surf/ptask_L07.cpp +++ b/src/surf/ptask_L07.cpp @@ -407,19 +407,5 @@ void L07Action::updateBound() } } -int L07Action::unref() -{ - refcount_--; - if (not refcount_) { - if (state_set_hook_.is_linked()) - simgrid::xbt::intrusive_erase(*state_set_, *this); - if (getVariable()) - get_model()->getMaxminSystem()->variable_free(getVariable()); - delete this; - return 1; - } - return 0; -} - } }