]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/sosp/Snapshot_test.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:simgrid/simgrid into dev_7
[simgrid.git] / src / mc / sosp / Snapshot_test.cpp
index 633c89af78ab56e50bb90df6a59a3f2d6b111e0f..f253bff7782e59e3087fc0b36fc74ce27c145733 100644 (file)
@@ -82,11 +82,7 @@ snap_test_helper::prologue_return snap_test_helper::prologue(int n)
   INFO("Could not allocate destination memory");
   REQUIRE(source != MAP_FAILED);
 
-  return {.size    = byte_size,
-          .src     = source,
-          .dstn    = destination,
-          .region0 = std::move(region0),
-          .region  = std::move(region)};
+  return {.size = byte_size, .src = source, .dstn = destination, .region0 = region0, .region = region};
 }
 
 void snap_test_helper::read_whole_region()