X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c..79739657970ffcf609c1e90f6112e8f5a8583801:/src/surf/network_ns3.cpp diff --git a/src/surf/network_ns3.cpp b/src/surf/network_ns3.cpp index c42e0e1c41..3821b8a361 100644 --- a/src/surf/network_ns3.cpp +++ b/src/surf/network_ns3.cpp @@ -350,19 +350,6 @@ bool NetworkNS3Action::isSuspended() return false; } -int NetworkNS3Action::unref() -{ - refcount_--; - if (not refcount_) { - if (state_set_hook_.is_linked()) - simgrid::xbt::intrusive_erase(*state_set_, *this); - XBT_DEBUG ("Removing action %p", this); - delete this; - return 1; - } - return 0; -} - } }