Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make more ActivityImpl fields private
[simgrid.git] / src / surf / HostImpl.cpp
index c9c12bf..9dabe15 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);
       }
     }
   }