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] Declare functions "const" in examples/ and teshsuite/.
[simgrid.git]
/
examples
/
s4u
/
actor-lifetime
/
s4u-actor-lifetime.cpp
diff --git
a/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp
b/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp
index
5a945a4
..
5e3c614
100644
(file)
--- a/
examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp
+++ b/
examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp
@@
-20,7
+20,7
@@
public:
XBT_INFO("Exiting now (done sleeping or got killed).");
});
}
- void operator()()
+ void operator()()
const
{
XBT_INFO("Hello! I go to sleep.");
simgrid::s4u::this_actor::sleep_for(10);