Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make parameters pointer/reference-to-const (sonar).
[simgrid.git] / src / mc / api / State.hpp
index 1e90603..31ce756 100644 (file)
@@ -30,7 +30,7 @@ class XBT_PRIVATE State : public xbt::Extendable<State> {
   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;