X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4b0aa1525597fd0800c4d00c6df3f3c49d53ee2c..a3928e348b652b4d2c7c7ebf058205dbedac94cf:/src/mc/VisitedState.hpp diff --git a/src/mc/VisitedState.hpp b/src/mc/VisitedState.hpp index 29af2ea84d..ea116d9dbb 100644 --- a/src/mc/VisitedState.hpp +++ b/src/mc/VisitedState.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -7,7 +7,7 @@ #define SIMGRID_MC_VISITED_STATE_HPP #include "src/mc/mc_state.hpp" -#include "src/mc/sosp/mc_snapshot.hpp" +#include "src/mc/sosp/Snapshot.hpp" #include #include @@ -31,7 +31,9 @@ class XBT_PRIVATE VisitedStates { std::vector> states_; public: void clear() { states_.clear(); } - std::unique_ptr addVisitedState(unsigned long state_number, simgrid::mc::State* graph_state, bool compare_snpashots); + std::unique_ptr addVisitedState(unsigned long state_number, + simgrid::mc::State* graph_state, bool compare_snapshots); + private: void prune(); };