From e6756df2873311a21107025ef1748a3b1c090603 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 31 Jul 2016 22:19:41 +0200 Subject: [PATCH] unclutter this code. Painful. --- src/s4u/s4u_actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.20.1