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
Make parameters pointer/reference-to-const (sonar).
[simgrid.git]
/
src
/
mc
/
api
/
State.hpp
diff --git
a/src/mc/api/State.hpp
b/src/mc/api/State.hpp
index
1e90603
..
31ce756
100644
(file)
--- a/
src/mc/api/State.hpp
+++ b/
src/mc/api/State.hpp
@@
-30,7
+30,7
@@
class XBT_PRIVATE State : public xbt::Extendable<State> {
std::shared_ptr<Snapshot> system_state_;
public:
std::shared_ptr<Snapshot> system_state_;
public:
- explicit State(RemoteApp& remote_app);
+ explicit State(
const
RemoteApp& remote_app);
/* Returns a positive number if there is another transition to pick, or -1 if not */
aid_t next_transition() const;
/* Returns a positive number if there is another transition to pick, or -1 if not */
aid_t next_transition() const;