Add utility class btree_detail::noop_damage_visitor
This commit is contained in:
parent
778c153c1e
commit
a48227188e
@ -27,6 +27,12 @@ namespace persistent_data {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class noop_damage_visitor {
|
||||||
|
public:
|
||||||
|
virtual void visit(btree_path const &path, damage const &d) {
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// Tracks damage in a single level btree. Use multiple
|
// Tracks damage in a single level btree. Use multiple
|
||||||
// trackers if you have a multilayer tree.
|
// trackers if you have a multilayer tree.
|
||||||
class damage_tracker {
|
class damage_tracker {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user