]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/context/Context.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
objectify simix timers.
[simgrid.git] / src / kernel / context / Context.cpp
index 44f2383bbd5ada31dd46a23045066ccdf8526c8f..0471a5cd56385059f315b5f5e2f520890dc663b3 100644 (file)
@@ -101,7 +101,7 @@ void Context::stop()
 
     /* Unregister from the kill timer if any */
     if (actor_->kill_timer != nullptr) {
-      SIMIX_timer_remove(actor_->kill_timer);
+      actor_->kill_timer->remove();
       actor_->kill_timer = nullptr;
     }