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] Replace redundant type with "auto" (examples/).
[simgrid.git]
/
examples
/
s4u
/
mc-bugged1-liveness
/
s4u-mc-bugged1-liveness.cpp
diff --git
a/examples/s4u/mc-bugged1-liveness/s4u-mc-bugged1-liveness.cpp
b/examples/s4u/mc-bugged1-liveness/s4u-mc-bugged1-liveness.cpp
index
175d561
..
2e23b12
100644
(file)
--- a/
examples/s4u/mc-bugged1-liveness/s4u-mc-bugged1-liveness.cpp
+++ b/
examples/s4u/mc-bugged1-liveness/s4u-mc-bugged1-liveness.cpp
@@
-101,7
+101,7
@@
static void client(int id)
XBT_INFO("Propositions changed : r=1, cs=0");
}
- const
Message
* grant = static_cast<Message*>(my_mailbox->get());
+ const
auto
* grant = static_cast<Message*>(my_mailbox->get());
if ((id == 1) && (grant->kind == Message::Kind::GRANT)) {
cs = 1;