[cache_restore] more wip
This commit is contained in:
1 parent
cce3b5980f
commit
c476de1756
4 files changed
+118
-11
No files matched your search
@@ -128,9 +128,9 @@ namespace persistent_data {
|
||||
|
||||
typedef boost::shared_ptr<array<ValueTraits> > ptr;
|
||||
typedef typename ValueTraits::value_type value_type;
|
||||
typedef typename ValueTraits::ref_counter ref_counter;
|
||||
|
||||
array(tm_ptr tm,
|
||||
typename ValueTraits::ref_counter rc)
|
||||
array(tm_ptr tm, ref_counter rc)
|
||||
: tm_(tm),
|
||||
entries_per_block_(rblock::calc_max_entries()),
|
||||
nr_entries_(0),
|
||||
@@ -140,8 +140,7 @@ namespace persistent_data {
|
||||
validator_(new block_manager<>::noop_validator()) {
|
||||
}
|
||||
|
||||
array(tm_ptr tm,
|
||||
typename ValueTraits::ref_counter rc,
|
||||
array(tm_ptr tm, ref_counter rc,
|
||||
block_address root,
|
||||
unsigned nr_entries)
|
||||
: tm_(tm),
|
||||
|
||||
Reference in new issue
Block a user