X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ff420e1906d916322427488153e45bf82d5c03dd..08a29a4221dc5cec95b766cd9b25c95dcc361df9:/src/mc/mc_config.cpp diff --git a/src/mc/mc_config.cpp b/src/mc/mc_config.cpp index fbe43122f6..5f7e1dcf6b 100644 --- a/src/mc/mc_config.cpp +++ b/src/mc/mc_config.cpp @@ -1,9 +1,9 @@ -/* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2019. 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. */ -#include "xbt/config.h" +#include "xbt/config.hpp" #include "xbt/log.h" #include @@ -43,9 +43,8 @@ static void _mc_cfg_cb_check(const char* spec, bool more_check = true) } /* Replay (this part is enabled even if MC it disabled) */ -static simgrid::config::Flag _sg_mc_record_path{ - "model-check/replay", "Model-check path to replay (as reported by SimGrid when a violation is reported)", "", - [](const std::string& value) { MC_record_path = value; }}; +simgrid::config::Flag _sg_mc_record_path{ + "model-check/replay", "Model-check path to replay (as reported by SimGrid when a violation is reported)", ""}; simgrid::config::Flag _sg_mc_timeout{ "model-check/timeout", "Whether to enable timeouts for wait requests", false,