X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4eec839f403bad2f6757fd96b7411f380794ea3c..b20181dac355021101b67ba77ff07f135419e00c:/src/mc/sosp/RegionSnapshot.hpp diff --git a/src/mc/sosp/RegionSnapshot.hpp b/src/mc/sosp/RegionSnapshot.hpp index f5bb148571..de4734a011 100644 --- a/src/mc/sosp/RegionSnapshot.hpp +++ b/src/mc/sosp/RegionSnapshot.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -205,7 +205,7 @@ public: const Buffer& flat_data() const { return flat_data_; } Buffer& flat_data() { return flat_data_; } - void page_data(ChunkedData page_data) + void page_data(ChunkedData&& page_data) { storage_type_ = StorageType::Chunked; flat_data_.clear(); @@ -247,6 +247,4 @@ simgrid::mc::RegionSnapshot region(RegionType type, void* start_addr, void* data } // namespace mc } // namespace simgrid -typedef simgrid::mc::RegionSnapshot s_mc_mem_region_t; -typedef s_mc_mem_region_t* mc_mem_region_t; #endif