X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c43a5731baca76b45133d071e92bafb4bce2440d..33471128bd0460782d27e69ab365d5f234456a9f:/src/simix/smx_network.cpp diff --git a/src/simix/smx_network.cpp b/src/simix/smx_network.cpp index 410eb3b11d..74cdf59395 100644 --- a/src/simix/smx_network.cpp +++ b/src/simix/smx_network.cpp @@ -726,7 +726,7 @@ void SIMIX_comm_copy_data(smx_activity_t synchro) smx_activity_t SIMIX_comm_ref(smx_activity_t comm) { if (comm != nullptr) - intrusive_ptr_add_ref(comm); + comm->ref(); return comm; } @@ -734,5 +734,5 @@ smx_activity_t SIMIX_comm_ref(smx_activity_t comm) void SIMIX_comm_unref(smx_activity_t comm) { if (comm != nullptr) - intrusive_ptr_release(comm); + comm->unref(); }