X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/76953caae18456a7f51c5a9d1533fd99e0bed65d..6ade1c748396ae71562fd718e8409de61ab00148:/examples/s4u/replay-comm/s4u-replay-comm.cpp diff --git a/examples/s4u/replay-comm/s4u-replay-comm.cpp b/examples/s4u/replay-comm/s4u-replay-comm.cpp index ec4781c5f5..7c8f001cee 100644 --- a/examples/s4u/replay-comm/s4u-replay-comm.cpp +++ b/examples/s4u/replay-comm/s4u-replay-comm.cpp @@ -71,7 +71,7 @@ public: ACT_DEBUG("Receiving: %s -- Actor %s on mailbox %s", NAME.c_str(), simgrid::s4u::this_actor::get_cname(), from->get_cname()); - delete from->get(); + from->get_unique(); log_action(action, simgrid::s4u::Engine::get_clock() - clock); } };