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
Use (const) references with range-based for loops.
[simgrid.git]
/
src
/
mc
/
checker
/
LivenessChecker.cpp
diff --git
a/src/mc/checker/LivenessChecker.cpp
b/src/mc/checker/LivenessChecker.cpp
index
4f3a21a
..
26cba12
100644
(file)
--- a/
src/mc/checker/LivenessChecker.cpp
+++ b/
src/mc/checker/LivenessChecker.cpp
@@
-279,7
+279,7
@@
void LivenessChecker::showAcceptanceCycle(std::size_t depth)
XBT_INFO("*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*");
XBT_INFO("Counter-example that violates formula :");
simgrid::mc::dumpRecordPath();
XBT_INFO("*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*");
XBT_INFO("Counter-example that violates formula :");
simgrid::mc::dumpRecordPath();
- for (auto& s : this->getTextualTrace())
+ for (auto
const
& s : this->getTextualTrace())
XBT_INFO("%s", s.c_str());
simgrid::mc::session->logState();
XBT_INFO("Counter-example depth : %zu", depth);
XBT_INFO("%s", s.c_str());
simgrid::mc::session->logState();
XBT_INFO("Counter-example depth : %zu", depth);