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
Another round of pointer-to-const for sonar.
[simgrid.git]
/
examples
/
cpp
/
exec-ptask-multicore
/
s4u-exec-ptask-multicore.cpp
diff --git
a/examples/cpp/exec-ptask-multicore/s4u-exec-ptask-multicore.cpp
b/examples/cpp/exec-ptask-multicore/s4u-exec-ptask-multicore.cpp
index
8cfad72
..
e7a17cb
100644
(file)
--- a/
examples/cpp/exec-ptask-multicore/s4u-exec-ptask-multicore.cpp
+++ b/
examples/cpp/exec-ptask-multicore/s4u-exec-ptask-multicore.cpp
@@
-10,7
+10,7
@@
namespace sg4 = simgrid::s4u;
static void runner()
{
- auto* e = sg4::Engine::get_instance();
+
const
auto* e = sg4::Engine::get_instance();
std::vector<double> comp(2, 1e9);
std::vector<double> comm(4, 0.0);
// Different hosts.