X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e64d6da8afc98eb8ea9838e48735e01e922863fc..7e42dd535dfc0d68de20fba4b9fc5e480b56c74b:/src/simix/ActorImpl.cpp diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index 4d494cda4f..f9bc84422e 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -34,7 +34,7 @@ unsigned long simix_process_maxpid = 0; */ smx_actor_t SIMIX_process_self() { - smx_context_t self_context = SIMIX_context_self(); + smx_context_t self_context = simgrid::kernel::context::Context::self(); return (self_context != nullptr) ? self_context->process() : nullptr; } @@ -429,7 +429,7 @@ smx_actor_t SIMIX_process_attach(const char* name, void* data, const char* hostn void SIMIX_process_detach() { - auto* context = dynamic_cast(SIMIX_context_self()); + auto* context = dynamic_cast(simgrid::kernel::context::Context::self()); if (context == nullptr) xbt_die("Not a suitable context");