X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd6250a2368011999676518ece99216d9279c1f7..e63c67321577f0816604fe730cd0bc856970454d:/src/mc/sosp/Snapshot_test.cpp diff --git a/src/mc/sosp/Snapshot_test.cpp b/src/mc/sosp/Snapshot_test.cpp index 79b9485b8c..63c114cdde 100644 --- a/src/mc/sosp/Snapshot_test.cpp +++ b/src/mc/sosp/Snapshot_test.cpp @@ -8,6 +8,7 @@ #include "src/mc/sosp/Snapshot.hpp" #include +#include #include #include @@ -56,7 +57,7 @@ void snap_test_helper::Init() REQUIRE(xbt_pagesize == getpagesize()); REQUIRE(1 << xbt_pagebits == xbt_pagesize); - process.reset(new simgrid::mc::RemoteSimulation(getpid())); + process = std::make_unique(getpid()); process->init(); mc_model_checker = new ::simgrid::mc::ModelChecker(std::move(process), -1); }