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
Reduce scope for variable.
[simgrid.git]
/
src
/
mc
/
api.cpp
diff --git
a/src/mc/api.cpp
b/src/mc/api.cpp
index 0fe5c332bf3f7a4bec8627e31a4b2dc12c1db828..796dd33e6da34c7bdcf3911cb46e58e5f865557a 100644
(file)
--- a/
src/mc/api.cpp
+++ b/
src/mc/api.cpp
@@
-5,6
+5,7
@@
#include "src/kernel/actor/SimcallObserver.hpp"
#include "src/mc/Session.hpp"
#include "src/mc/checker/Checker.hpp"
#include "src/kernel/actor/SimcallObserver.hpp"
#include "src/mc/Session.hpp"
#include "src/mc/checker/Checker.hpp"
+#include "src/mc/mc_base.hpp"
#include "src/mc/mc_comm_pattern.hpp"
#include "src/mc/mc_exit.hpp"
#include "src/mc/mc_pattern.hpp"
#include "src/mc/mc_comm_pattern.hpp"
#include "src/mc/mc_exit.hpp"
#include "src/mc/mc_pattern.hpp"
@@
-828,7
+829,7
@@
std::string Api::request_to_string(smx_simcall_t req, int value) const
break;
default:
break;
default:
- type = SIMIX_simcall_name(
req->call_
);
+ type = SIMIX_simcall_name(
*req
);
args = "??";
break;
}
args = "??";
break;
}