X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0546bca18b0a87c91e5132340a0b1359ba0b5130..b41c921fc0a6a13f5db4d6cefb9b6955d5f21e3b:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index 4ea2c9573c..4c7f441c1c 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -35,7 +35,7 @@ void replay(RecordTrace const& trace) if (not process) xbt_die("Unexpected process (pid:%d).", transition.pid_); smx_simcall_t simcall = &(process->simcall); - if (not simcall || simcall->call_ == SIMCALL_NONE) + if (simcall == nullptr || simcall->call_ == SIMCALL_NONE) xbt_die("No simcall for process %d.", transition.pid_); if (not simgrid::mc::request_is_visible(simcall) || not simgrid::mc::actor_is_enabled(process)) xbt_die("Unexpected simcall.");