X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bf5d9a3ed276303ac434aaeb44f406c2b7dcdb90..ac9197eec3a25524040ce2f55021ba590788c3a3:/src/mc/checker/LivenessChecker.cpp diff --git a/src/mc/checker/LivenessChecker.cpp b/src/mc/checker/LivenessChecker.cpp index 7f5a9d6ec8..75a630736d 100644 --- a/src/mc/checker/LivenessChecker.cpp +++ b/src/mc/checker/LivenessChecker.cpp @@ -39,7 +39,7 @@ VisitedPair::VisitedPair(int pair_num, xbt_automaton_state_t automaton_state, this->atomic_propositions = std::move(atomic_propositions); } -static bool evaluate_label(xbt_automaton_exp_label_t l, std::vector const& values) +static bool evaluate_label(const xbt_automaton_exp_label* l, std::vector const& values) { switch (l->type) { case xbt_automaton_exp_label::AUT_OR: @@ -260,7 +260,7 @@ std::vector LivenessChecker::get_textual_trace() // override return trace; } -std::shared_ptr LivenessChecker::create_pair(Pair* current_pair, xbt_automaton_state_t state, +std::shared_ptr LivenessChecker::create_pair(const Pair* current_pair, xbt_automaton_state_t state, std::shared_ptr> propositions) { expanded_pairs_count_++;