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 parameters in examples/.
[simgrid.git]
/
examples
/
s4u
/
replay-comm
/
s4u-replay-comm.cpp
diff --git
a/examples/s4u/replay-comm/s4u-replay-comm.cpp
b/examples/s4u/replay-comm/s4u-replay-comm.cpp
index 95affd0985d6f3ac74cb31658e094f53f0da0a34..580b9788fde15c6785f2afbda64b92b53e35f88d 100644
(file)
--- a/
examples/s4u/replay-comm/s4u-replay-comm.cpp
+++ b/
examples/s4u/replay-comm/s4u-replay-comm.cpp
@@
-18,7
+18,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(replay_comm, "Messages specific for this msg exampl
} else \
((void)0)
} else \
((void)0)
-static void log_action(simgrid::xbt::ReplayAction& action, double date)
+static void log_action(
const
simgrid::xbt::ReplayAction& action, double date)
{
if (XBT_LOG_ISENABLED(replay_comm, xbt_log_priority_verbose)) {
std::string s = boost::algorithm::join(action, " ");
{
if (XBT_LOG_ISENABLED(replay_comm, xbt_log_priority_verbose)) {
std::string s = boost::algorithm::join(action, " ");