Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix weird bug on pstate changes with VM
[simgrid.git] / src / surf / HostImpl.cpp
index c9c12bf78e5e17da14ba48c656275482b0e85571..9dabe15b660df6fd8261e6c79942a922170dbc1e 100644 (file)
@@ -105,7 +105,7 @@ void HostImpl::turn_off(const actor::ActorImpl* issuer)
       auto hosts = exec->get_hosts();
       if (std::find(hosts.begin(), hosts.end(), &piface_) != hosts.end()) {
         exec->cancel();
-        exec->state_ = activity::State::FAILED;
+        exec->set_state(activity::State::FAILED);
       }
     }
   }