X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/74abafcd3702b62d42041354260d1f5e3508fa38..c2184f1318115fcea2571f738e8359044bc78d42:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index 0553d8932f..da8c02bad9 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -87,7 +87,7 @@ Session::Session(pid_t pid, int socket) { std::unique_ptr process(new simgrid::mc::RemoteClient(pid, socket)); // TODO, automatic detection of the config from the process - process->privatized(smpi_privatize_global_variables != SmpiPrivStrategies::None); + process->privatized(smpi_privatize_global_variables != SmpiPrivStrategies::NONE); modelChecker_ = std::unique_ptr( new simgrid::mc::ModelChecker(std::move(process))); xbt_assert(mc_model_checker == nullptr); @@ -122,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); }