Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill two useless calls: SIMIX_process_get_host & simcall_process_get_host
[simgrid.git] / src / s4u / s4u_actor.cpp
index 2f97f34..43fdb29 100644 (file)
@@ -62,7 +62,7 @@ void Actor::setAutoRestart(bool autorestart) {
 }
 
 s4u::Host *Actor::getHost() {
-  return simcall_process_get_host(pimpl_);
+  return pimpl_->host;
 }
 
 const char* Actor::getName() {