]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/ModelChecker.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC_smx_actor_get_name() implemented in Api class, it renamed to actor_get_name().
[simgrid.git] / src / mc / ModelChecker.cpp
index e5c642f89fdbb2683a12db79ca23b97ef52f0e39..f7859f4495d49236bc2780b43cea4eb716c69757 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -326,7 +326,7 @@ bool ModelChecker::checkDeadlock()
   xbt_assert(s == sizeof(message) && message.type == MessageType::DEADLOCK_CHECK_REPLY,
              "Received unexpected message %s (%i, size=%i) "
              "expected MessageType::DEADLOCK_CHECK_REPLY (%i, size=%i)",
-             MC_message_type_name(message.type), (int)message.type, (int)s, (int)MessageType::DEADLOCK_CHECK_REPLY,
+             to_c_str(message.type), (int)message.type, (int)s, (int)MessageType::DEADLOCK_CHECK_REPLY,
              (int)sizeof(message));
   return message.value != 0;
 }