[btree] use a block_ref_counter for internal nodes
This commit is contained in:
@ -66,12 +66,12 @@ namespace persistent_data {
|
||||
}
|
||||
|
||||
bool visit_internal(node_location const &loc,
|
||||
btree_detail::node_ref<uint64_traits> const &n) {
|
||||
btree_detail::node_ref<block_traits> const &n) {
|
||||
return check_internal(loc, n);
|
||||
}
|
||||
|
||||
bool visit_internal_leaf(node_location const &loc,
|
||||
btree_detail::node_ref<uint64_traits> const &n) {
|
||||
btree_detail::node_ref<block_traits> const &n) {
|
||||
return check_leaf(loc, n);
|
||||
}
|
||||
|
||||
@ -91,7 +91,7 @@ namespace persistent_data {
|
||||
|
||||
private:
|
||||
bool check_internal(node_location const &loc,
|
||||
btree_detail::node_ref<uint64_traits> const &n) {
|
||||
btree_detail::node_ref<block_traits> const &n) {
|
||||
if (!already_visited(n) &&
|
||||
check_block_nr(n) &&
|
||||
check_max_entries(n) &&
|
||||
|
Reference in New Issue
Block a user