X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd6250a2368011999676518ece99216d9279c1f7..e63c67321577f0816604fe730cd0bc856970454d:/src/mc/sosp/PageStore_test.cpp diff --git a/src/mc/sosp/PageStore_test.cpp b/src/mc/sosp/PageStore_test.cpp index 4888385a72..99ff03aef3 100644 --- a/src/mc/sosp/PageStore_test.cpp +++ b/src/mc/sosp/PageStore_test.cpp @@ -49,7 +49,7 @@ int helper_tests::value = 0; void helper_tests::Init() { pagesize = (size_t)getpagesize(); - store.reset(new simgrid::mc::PageStore(50)); + store = std::make_unique(50); data = mmap(nullptr, getpagesize(), PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); REQUIRE(store->size() == 0); }