X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/883b4c1070099436bef001f6602492849f4db582..cd8cf3e33c5e55c7daa82efd1445475f4574eb92:/src/mc/sosp/Snapshot_test.cpp diff --git a/src/mc/sosp/Snapshot_test.cpp b/src/mc/sosp/Snapshot_test.cpp index d16b6ca049..abf1dd03da 100644 --- a/src/mc/sosp/Snapshot_test.cpp +++ b/src/mc/sosp/Snapshot_test.cpp @@ -12,8 +12,6 @@ #include #include -/**************** Class BOOST_tests *************************/ -using simgrid::mc::Region; class snap_test_helper { simgrid::mc::PageStore page_store_{500}; simgrid::mc::RemoteProcessMemory memory_{getpid(), nullptr}; @@ -22,11 +20,13 @@ class snap_test_helper { size_t size; std::byte* src; std::byte* dstn; - std::unique_ptr region0; - std::unique_ptr region; + std::unique_ptr region0; + std::unique_ptr region; }; prologue_return prologue(int n); // common to the below 5 fxs + static void init_memory(std::byte* mem, size_t size); + public: void read_whole_region(); void read_region_parts(); @@ -34,7 +34,6 @@ public: void compare_region_parts(); void read_pointer(); - static void init_memory(std::byte* mem, size_t size); static void basic_requirements(); };