X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0617119206ff65bfdad4e484f653638abbc3c747..5a469c9dca9ce25cee1a52682d7eb7bbd736a49b:/src/plugins/vm/VirtualMachineImpl.cpp diff --git a/src/plugins/vm/VirtualMachineImpl.cpp b/src/plugins/vm/VirtualMachineImpl.cpp index 025fc56221..326fde567a 100644 --- a/src/plugins/vm/VirtualMachineImpl.cpp +++ b/src/plugins/vm/VirtualMachineImpl.cpp @@ -58,7 +58,7 @@ static void hostStateChange(s4u::Host& host) } VMModel::VMModel() { - s4u::Host::onStateChange.connect(hostStateChange); + s4u::Host::on_state_change.connect(hostStateChange); } double VMModel::next_occuring_event(double now) @@ -90,7 +90,6 @@ double VMModel::next_occuring_event(double now) /* iterate for all virtual machines */ for (s4u::VirtualMachine* const& ws_vm : VirtualMachineImpl::allVms_) { surf::Cpu* cpu = ws_vm->pimpl_cpu; - xbt_assert(cpu, "cpu-less host"); double solved_value = ws_vm->getImpl()->action_->get_variable()->get_value(); // this is X1 in comment above, what