Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
wrong order there
[simgrid.git] / src / s4u / s4u_Host.cpp
index 8e5edcbecd5e8764461512f3a54b833c1f175ce3..e78c4eb95640aafb47b2362b8045c35d29b4c09c 100644 (file)
@@ -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);
     });
   }