A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compilation with jedule and limited by latency
[simgrid.git]
/
src
/
surf
/
cpu_interface.cpp
diff --git
a/src/surf/cpu_interface.cpp
b/src/surf/cpu_interface.cpp
index
4be4445
..
5b31783
100644
(file)
--- a/
src/surf/cpu_interface.cpp
+++ b/
src/surf/cpu_interface.cpp
@@
-345,12
+345,12
@@
void CpuAction::setAffinity(Cpu *cpu, unsigned long mask)
XBT_OUT();
}
XBT_OUT();
}
-simgrid::xbt::signal<void(simgrid::surf::CpuAction*, e_surf_action_state_t
, e_surf_action_state_t
)> CpuAction::onStateChange;
+simgrid::xbt::signal<void(simgrid::surf::CpuAction*, e_surf_action_state_t)> CpuAction::onStateChange;
void CpuAction::setState(e_surf_action_state_t state){
void CpuAction::setState(e_surf_action_state_t state){
- e_surf_action_state_t
old
= getState();
+ e_surf_action_state_t
previous
= getState();
Action::setState(state);
Action::setState(state);
- onStateChange(this,
old, state
);
+ onStateChange(this,
previous
);
}
}
}
}