Sanitise btree_detail::node_location

This commit is contained in:
Joe Thornber
2013-05-15 13:37:30 +01:00
parent 35cf5cbb73
commit b0d1fa0851
7 changed files with 207 additions and 80 deletions

View File

@@ -50,7 +50,7 @@ namespace {
return false;
}
return (loc.sub_root && loc.key) ? (*loc.key == dev_id_) : true;
return (loc.is_sub_root() && loc.key) ? (*loc.key == dev_id_) : true;
}
bool visit_internal_leaf(node_location const &loc,