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
simplify how we find platf files from teshsuite
[simgrid.git]
/
teshsuite
/
surf
/
surf_usage2
/
surf_usage2.cpp
diff --git
a/teshsuite/surf/surf_usage2/surf_usage2.cpp
b/teshsuite/surf/surf_usage2/surf_usage2.cpp
index
0b0f8af
..
41e5c97
100644
(file)
--- a/
teshsuite/surf/surf_usage2/surf_usage2.cpp
+++ b/
teshsuite/surf/surf_usage2/surf_usage2.cpp
@@
-42,7
+42,7
@@
int main(int argc, char **argv)
double now = surf_get_clock();
XBT_INFO("Next Event : %g", now);
double now = surf_get_clock();
XBT_INFO("Next Event : %g", now);
- for (auto
model
: *all_existing_models) {
+ for (auto
const& model
: *all_existing_models) {
if (surf_model_running_action_set_size(model)) {
XBT_DEBUG("\t Running that model");
running = 1;
if (surf_model_running_action_set_size(model)) {
XBT_DEBUG("\t Running that model");
running = 1;