X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2807fde4fd1f59c230d69a934634c5dfb77905f2..c2184f1318115fcea2571f738e8359044bc78d42:/src/mc/ModelChecker.cpp diff --git a/src/mc/ModelChecker.cpp b/src/mc/ModelChecker.cpp index 53ebd7efbd..3ca696bef4 100644 --- a/src/mc/ModelChecker.cpp +++ b/src/mc/ModelChecker.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2017. The SimGrid Team. +/* Copyright (c) 2008-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -19,7 +19,7 @@ #include "xbt/log.h" #include "xbt/system_error.hpp" -#include "simgrid/sg_config.h" +#include "simgrid/sg_config.hpp" #include "src/mc/ModelChecker.hpp" #include "src/mc/ModelChecker.hpp" @@ -34,7 +34,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_ModelChecker, mc, "ModelChecker"); ::simgrid::mc::ModelChecker* mc_model_checker = nullptr; -extern std::string _sg_mc_dot_output_file; using simgrid::mc::remote; @@ -97,7 +96,7 @@ void ModelChecker::start() process_->init(); - if (not _sg_mc_dot_output_file.empty()) + if (not _sg_mc_dot_output_file.get().empty()) MC_init_dot_output(); setup_ignore();