From: Martin Quinson Date: Sun, 31 Jul 2016 20:19:41 +0000 (+0200) Subject: unclutter this code. Painful. X-Git-Tag: v3_14~674 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e6756df2873311a21107025ef1748a3b1c090603 unclutter this code. Painful. --- diff --git a/src/s4u/s4u_actor.cpp b/src/s4u/s4u_actor.cpp index d5bf15d794..2f97f341a7 100644 --- a/src/s4u/s4u_actor.cpp +++ b/src/s4u/s4u_actor.cpp @@ -62,7 +62,7 @@ void Actor::setAutoRestart(bool autorestart) { } s4u::Host *Actor::getHost() { - return s4u::Host::by_name(sg_host_get_name(simcall_process_get_host(pimpl_))); + return simcall_process_get_host(pimpl_); } const char* Actor::getName() {