From: Frederic Suter Date: Sun, 5 Aug 2018 11:26:47 +0000 (+0200) Subject: wrong order there X-Git-Tag: v3_21~261^2~1^2~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/28c1e589d18279b654f17ff2c42acfa1936960d2 wrong order there --- diff --git a/src/s4u/s4u_Host.cpp b/src/s4u/s4u_Host.cpp index 8e5edcbecd..e78c4eb956 100644 --- a/src/s4u/s4u_Host.cpp +++ b/src/s4u/s4u_Host.cpp @@ -86,8 +86,8 @@ void Host::turn_on() { if (is_off()) { simgrid::simix::simcall([this] { - this->pimpl_->turn_on(); this->pimpl_cpu->turn_on(); + this->pimpl_->turn_on(); on_state_change(*this); }); }