X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a900ac9d39fee1b3de240499c5326e5b8d4f44c2..dd33e946a7ea1e4e00053ff43475566229f5c40a:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index dcff662039..2190ad043e 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -23,7 +23,6 @@ #include "src/smpi/include/private.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session"); -extern std::string _sg_mc_dot_output_file; namespace simgrid { namespace mc { @@ -123,7 +122,7 @@ void Session::logState() { mc_model_checker->getChecker()->logState(); - if (not _sg_mc_dot_output_file.empty()) { + if (not _sg_mc_dot_output_file.get().empty()) { fprintf(dot_output, "}\n"); fclose(dot_output); }