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
[sonar] Constify pointer and reference local variables in src/kernel/.
[simgrid.git]
/
src
/
kernel
/
activity
/
SleepImpl.cpp
diff --git
a/src/kernel/activity/SleepImpl.cpp
b/src/kernel/activity/SleepImpl.cpp
index
8a3eb18
..
9b5be40
100644
(file)
--- a/
src/kernel/activity/SleepImpl.cpp
+++ b/
src/kernel/activity/SleepImpl.cpp
@@
-55,7
+55,7
@@
void SleepImpl::post()
void SleepImpl::finish()
{
while (not simcalls_.empty()) {
-
smx_simcall_t
simcall = simcalls_.front();
+
const s_smx_simcall*
simcall = simcalls_.front();
simcalls_.pop_front();
simcall->issuer_->waiting_synchro = nullptr;