X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/585a65d8e2c5bed10f20cd84c5c1cb59ef6adc8a..6c16c61daeab4491da3abfba8e1b657308f8dfd4:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index f63910724a..63d9fc0680 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -51,7 +51,7 @@ void RecordTrace::replay() const const auto& actor_list = engine->get_actor_list(); if (actor_list.empty()) { XBT_INFO("The replay of the trace is complete. The application is terminating."); - } else if (std::none_of(begin(actor_list), end(actor_list), + } else if (std::none_of(std::begin(actor_list), std::end(actor_list), [](const auto& kv) { return mc::actor_is_enabled(kv.second); })) { XBT_INFO("The replay of the trace is complete. DEADLOCK detected."); engine->display_all_actor_status();