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
[mc] mc_comm_pattern.c containing all communication pattern functions
[simgrid.git]
/
src
/
mc
/
mc_page_store.cpp
diff --git
a/src/mc/mc_page_store.cpp
b/src/mc/mc_page_store.cpp
index
f2c01ee
..
222f3a7
100644
(file)
--- a/
src/mc/mc_page_store.cpp
+++ b/
src/mc/mc_page_store.cpp
@@
-238,7
+238,7
@@
XBT_TEST_UNIT("base", test_mc_page_store, "Test adding/removing pages in the sto
{
xbt_test_add("Init");
size_t pagesize = (size_t) getpagesize();
- std::
auto_ptr<s_mc_pages_store_t> store = std::auto
_ptr<s_mc_pages_store_t>(new s_mc_pages_store(500));
+ std::
unique_ptr<s_mc_pages_store_t> store = std::unique
_ptr<s_mc_pages_store_t>(new s_mc_pages_store(500));
void* data = getpage();
xbt_test_assert(store->size()==0, "Bad size");