Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate a SIMIX function that was badly named anyway
[simgrid.git] / src / s4u / s4u_Actor.cpp
index 1fd96f9..3827d4a 100644 (file)
@@ -260,7 +260,7 @@ void Actor::kill()
 
 ActorPtr Actor::by_pid(aid_t pid)
 {
-  kernel::actor::ActorImpl* actor = SIMIX_process_from_PID(pid);
+  kernel::actor::ActorImpl* actor = kernel::actor::ActorImpl::by_PID(pid);
   if (actor != nullptr)
     return actor->get_iface();
   else