Add utility class btree_detail::noop_damage_visitor

This commit is contained in:
Ming-Hung Tsai 2016-02-27 15:21:23 +08:00
parent 778c153c1e
commit a48227188e

View File

@ -27,6 +27,12 @@ namespace persistent_data {
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
// trackers if you have a multilayer tree.
class damage_tracker {