X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/03847b386b2035bec76237eab400aeaf07466496..018bdce8a96722fce641788226dd4bce6c03203c:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 99f4a8a0e4..5fbd5f8e20 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -131,7 +132,7 @@ namespace s4u { /** @brief Simulation Agent (see \ref s4u_actor)*/ XBT_PUBLIC_CLASS Actor { friend Mailbox; - friend simgrid::simix::Process; + friend simgrid::simix::ActorImpl; smx_process_t pimpl_ = nullptr; /** Wrap a (possibly non-copyable) single-use task into a `std::function` */ @@ -217,7 +218,7 @@ public: //static Actor *byPid(int pid); not implemented /** Retrieves the name of that actor */ - const char* getName(); + simgrid::xbt::string getName(); /** Retrieves the host on which that actor is running */ s4u::Host *getHost(); /** Retrieves the PID of that actor */