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

Public GIT Repository
Merge branch 'link-cumload-plugin' into 'master'
[simgrid.git] / src / mc / sosp / ChunkedData.hpp
index a7f29031940bbc4f6343e3e55f06a20e19ab4c7f..11d831610612198dd29a92422146430a9bd61ec2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2014-2020. 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. */
@@ -46,7 +46,7 @@ public:
     for (std::size_t const& pageno : pagenos_)
       store_->ref_page(pageno);
   }
-  ChunkedData(ChunkedData&& that) : pagenos_(std::move(that.pagenos_))
+  ChunkedData(ChunkedData&& that) noexcept : pagenos_(std::move(that.pagenos_))
   {
     std::swap(store_, that.store_);
     that.pagenos_.clear();
@@ -62,7 +62,7 @@ public:
     }
     return *this;
   }
-  ChunkedData& operator=(ChunkedData&& that)
+  ChunkedData& operator=(ChunkedData&& that) noexcept
   {
     this->clear();
     store_      = that.store_;