Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use c++ strings for s4u::Actor names
[simgrid.git] / src / s4u / s4u_actor.cpp
index 2f97f34..5ea9f88 100644 (file)
@@ -62,11 +62,11 @@ void Actor::setAutoRestart(bool autorestart) {
 }
 
 s4u::Host *Actor::getHost() {
-  return simcall_process_get_host(pimpl_);
+  return pimpl_->host;
 }
 
-const char* Actor::getName() {
-  return simcall_process_get_name(pimpl_);
+simgrid::xbt::string Actor::getName() {
+  return pimpl_->name;
 }
 
 int Actor::getPid(){