X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb1f261aec236c177bcf1a6af7fb469cbbcaa95e..6847a26d9973030337f6ef9f18464b1f04ce7452:/examples/s4u/actor-kill/s4u-actor-kill.cpp diff --git a/examples/s4u/actor-kill/s4u-actor-kill.cpp b/examples/s4u/actor-kill/s4u-actor-kill.cpp index f2dd73d4a7..7bac6a7f76 100644 --- a/examples/s4u/actor-kill/s4u-actor-kill.cpp +++ b/examples/s4u/actor-kill/s4u-actor-kill.cpp @@ -15,7 +15,7 @@ static int on_exit(void*, void*) static void victimA_fun() { - simgrid::s4u::this_actor::onExit(on_exit, nullptr); + simgrid::s4u::this_actor::on_exit(on_exit, nullptr); XBT_INFO("Hello!"); XBT_INFO("Suspending myself"); simgrid::s4u::this_actor::suspend(); /* - Start by suspending itself */