From 901c4d472a0d55e9586e08dbaf04cec30a3bfbff Mon Sep 17 00:00:00 2001 From: bcamus Date: Mon, 7 Aug 2017 14:53:09 +0200 Subject: [PATCH] fixing codacy issue --- src/surf/cpu_interface.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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){ -- 2.20.1