X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5d588d76539d285fb67bef1ab477191622b94a9..f9b13d923d31bb0336aeeaab6d5b7ba33812f3f7:/src/xbt/xbt_virtu.cpp diff --git a/src/xbt/xbt_virtu.cpp b/src/xbt/xbt_virtu.cpp index 7670ec2d71..016705448a 100644 --- a/src/xbt/xbt_virtu.cpp +++ b/src/xbt/xbt_virtu.cpp @@ -1,12 +1,14 @@ /* virtualization layer for XBT */ -/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include +#include + #include "src/kernel/actor/ActorImpl.hpp" -#include "xbt/virtu.h" int xbt_getpid() { @@ -16,5 +18,5 @@ int xbt_getpid() const char* xbt_procname(void) { - return SIMIX_is_maestro() ? "maestro" : simgrid::kernel::actor::ActorImpl::self()->get_cname(); + return simgrid::s4u::Actor::is_maestro() ? "maestro" : simgrid::kernel::actor::ActorImpl::self()->get_cname(); }