Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use std::unique_ptr for States
[simgrid.git] / src / mc / CommunicationDeterminismChecker.hpp
index c345af7..a33c5ce 100644 (file)
@@ -28,7 +28,7 @@ private:
   int main();
 private:
   /** Stack representing the position in the exploration graph */
-  std::list<simgrid::mc::State*> stack_;
+  std::list<std::unique_ptr<simgrid::mc::State>> stack_;
   simgrid::mc::VisitedStates visitedStates_;
 };