X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19c58cbb49a4c58174169566b13aafb2b873fd81..4b95f054f8e620b68676f19b9db38002889538c6:/src/mc/RegionSnapshot.cpp diff --git a/src/mc/RegionSnapshot.cpp b/src/mc/RegionSnapshot.cpp index fc74d88e8d..8fe9a9865f 100644 --- a/src/mc/RegionSnapshot.cpp +++ b/src/mc/RegionSnapshot.cpp @@ -101,7 +101,7 @@ RegionSnapshot dense_region( XBT_DEBUG("New region : type : %s, data : %p (real addr %p), size : %zu", to_cstr(region_type), region.flat_data().get(), permanent_addr, size); - return std::move(region); + return region; } /** @brief Take a snapshot of a given region @@ -155,7 +155,7 @@ RegionSnapshot sparse_region(RegionType region_type, simgrid::mc::RegionSnapshot region( region_type, start_addr, permanent_addr, size); region.page_data(std::move(page_data)); - return std::move(region); + return region; } }