X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2cee965a59bc4c1b024ddd0e10b64dc065044778..8cf6e30af8de6686461b6b1b52ba578df01de985:/src/mc/LivenessChecker.cpp diff --git a/src/mc/LivenessChecker.cpp b/src/mc/LivenessChecker.cpp index e8eba86159..19e634779c 100644 --- a/src/mc/LivenessChecker.cpp +++ b/src/mc/LivenessChecker.cpp @@ -125,7 +125,7 @@ std::shared_ptr LivenessChecker::insertAcceptancePair(simgrid::mc:: pair->num, pair->automaton_state, pair->atomic_propositions, pair->graph_state); - auto res = boost::range::equal_range(acceptancePairs, + auto res = boost::range::equal_range(acceptancePairs_, new_pair.get(), simgrid::mc::DerefAndCompareByNbProcessesAndUsedHeap()); if (pair->search_cycle) for (auto i = res.first; i != res.second; ++i) { @@ -208,7 +208,7 @@ void LivenessChecker::replay() if (saved_req != nullptr) { /* because we got a copy of the executed request, we have to fetch the real one, pointed by the request field of the issuer process */ - const smx_process_t issuer = MC_smx_simcall_get_issuer(saved_req); + const smx_actor_t issuer = MC_smx_simcall_get_issuer(saved_req); req = &issuer->simcall; /* Debug information */ @@ -454,7 +454,7 @@ std::shared_ptr LivenessChecker::newPair(Pair* current_pair, xbt_automaton next_pair->search_cycle = true; else next_pair->search_cycle = false; - return std::move(next_pair); + return next_pair; } void LivenessChecker::backtrack()