Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix with full compiler warnings
[simgrid.git] / src / mc / explo / simgrid_mc.cpp
index b9e33e7810666929b723a1d3b67b69ac8a4d604d..b6625d5ccdffb4d4db6a393f160c12c559890d8c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-2023. 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. */
@@ -21,7 +21,7 @@ int main(int argc, char** argv)
   xbt_assert(argc >= 2, "Missing arguments");
 
   // Currently, we need this before sg_config_init:
-  simgrid::mc::cfg_do_model_check = 1;
+  simgrid::mc::cfg_do_model_check = true;
 
   // The initialization function can touch argv.
   // We make a copy of argv before modifying it in order to pass the original value to the model-checked application: