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
Really kill the process.
[simgrid.git]
/
src
/
mc
/
PageStore.cpp
diff --git
a/src/mc/PageStore.cpp
b/src/mc/PageStore.cpp
index
20d3e5e
..
a2e4993
100644
(file)
--- a/
src/mc/PageStore.cpp
+++ b/
src/mc/PageStore.cpp
@@
-162,7
+162,7
@@
std::size_t PageStore::store_page(void* page)
// Try to find a duplicate in set of pages with the same hash:
page_set_type& page_set = this->hash_index_[hash];
// Try to find a duplicate in set of pages with the same hash:
page_set_type& page_set = this->hash_index_[hash];
- for (size_t pageno : page_set) {
+ for (size_t
const&
pageno : page_set) {
const void* snapshot_page = this->get_page(pageno);
if (memcmp(page, snapshot_page, xbt_pagesize) == 0) {
const void* snapshot_page = this->get_page(pageno);
if (memcmp(page, snapshot_page, xbt_pagesize) == 0) {