Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert Api::get_maxpid() into RemoteApp::get_maxpid()
[simgrid.git] / src / mc / explo / DFSExplorer.cpp
index 22b4bda..9a61e12 100644 (file)
@@ -266,7 +266,7 @@ void DFSExplorer::restore_state()
   }
 }
 
-DFSExplorer::DFSExplorer(RemoteApp* remote_app) : Exploration(remote_app)
+DFSExplorer::DFSExplorer(RemoteApp& remote_app) : Exploration(remote_app)
 {
   reductionMode_ = reduction_mode;
   if (_sg_mc_termination)
@@ -303,7 +303,7 @@ DFSExplorer::DFSExplorer(RemoteApp* remote_app) : Exploration(remote_app)
   stack_.push_back(std::move(initial_state));
 }
 
-Exploration* create_dfs_exploration(RemoteApp* remote_app)
+Exploration* create_dfs_exploration(RemoteApp& remote_app)
 {
   return new DFSExplorer(remote_app);
 }