Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove split the MCed and MCer part of MC_deadlock_check()
[simgrid.git] / src / mc / mc_safety.cpp
index 98e8d4d819a4e28a8597be7b5edce244f7c28706..62cb15cba8ec9654ec5b3bf59bd699f4b799b166 100644 (file)
@@ -20,7 +20,7 @@
 #include "src/mc/mc_private.h"
 #include "src/mc/mc_record.h"
 #include "src/mc/mc_smx.h"
-#include "src/mc/mc_client.h"
+#include "src/mc/Client.hpp"
 #include "src/mc/mc_exit.h"
 
 #include "src/xbt/mmalloc/mmprivate.h"
@@ -180,7 +180,7 @@ int modelcheck_safety(void)
       visited_state = nullptr;
 
       /* Check for deadlocks */
-      if (MC_deadlock_check()) {
+      if (mc_model_checker->checkDeadlock()) {
         MC_show_deadlock(nullptr);
         return SIMGRID_MC_EXIT_DEADLOCK;
       }