X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f5792a3bf76ce15a573ae5e9c63097595ae5f2bd..901c4d472a0d55e9586e08dbaf04cec30a3bfbff:/src/surf/cpu_interface.cpp diff --git a/src/surf/cpu_interface.cpp b/src/surf/cpu_interface.cpp index 7e992a6d43..caf30b7b20 100644 --- a/src/surf/cpu_interface.cpp +++ b/src/surf/cpu_interface.cpp @@ -211,15 +211,15 @@ void CpuAction::updateRemainingLazy(double now) simgrid::xbt::signal CpuAction::onStateChange; void CpuAction::suspend(){ - Action::State previous = getState(); - onStateChange(this, previous); - Action::suspend(); + Action::State previous = getState(); + onStateChange(this, previous); + Action::suspend(); } void CpuAction::resume(){ - Action::State previous = getState(); - onStateChange(this, previous); - Action::resume(); + Action::State previous = getState(); + onStateChange(this, previous); + Action::resume(); } void CpuAction::setState(Action::State state){