-/* 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. */
{
}
~RegionSnapshot() = default;
- RegionSnapshot(RegionSnapshot const&) = default;
- RegionSnapshot& operator=(RegionSnapshot const&) = default;
+ RegionSnapshot(RegionSnapshot const&) = delete;
+ RegionSnapshot& operator=(RegionSnapshot const&) = delete;
RegionSnapshot(RegionSnapshot&& that)
: region_type_(that.region_type_)
, storage_type_(that.storage_type_)
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();