A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
codacy
[simgrid.git]
/
src
/
mc
/
ChunkedData.hpp
diff --git
a/src/mc/ChunkedData.hpp
b/src/mc/ChunkedData.hpp
index
891e2fa
..
9652ea1
100644
(file)
--- a/
src/mc/ChunkedData.hpp
+++ b/
src/mc/ChunkedData.hpp
@@
-49,9
+49,10
@@
public:
// Copy and move
ChunkedData(ChunkedData const& that)
// Copy and move
ChunkedData(ChunkedData const& that)
+ : store_ (that.store_)
+ , pagenos_(that.pagenos_)
+
{
{
- store_ = that.store_;
- pagenos_ = that.pagenos_;
for (std::size_t pageno : pagenos_)
store_->ref_page(pageno);
}
for (std::size_t pageno : pagenos_)
store_->ref_page(pageno);
}