X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/69f8eb4aea98b46c7df3ca9a44bf46fc1ba2348b..3a1ea70a418f393ca1677074e928c664022295bd:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index 04d40a0eb0..0dd371035a 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -15,6 +15,8 @@ #include "xbt/log.h" #include "xbt/system_error.hpp" +#include + #include #ifdef __linux__ #include @@ -86,7 +88,7 @@ Session::Session(const std::function& code) xbt_assert(mc_model_checker == nullptr, "Did you manage to start the MC twice in this process?"); auto process = std::make_unique(pid); - model_checker_.reset(new simgrid::mc::ModelChecker(std::move(process), sockets[1])); + model_checker_ = std::make_unique(std::move(process), sockets[1]); mc_model_checker = model_checker_.get(); model_checker_->start();