[btree] visitor now passed as a reference rather than shared_ptr

This commit is contained in:
Joe Thornber
2013-05-02 12:31:33 +01:00
parent 5913de5e38
commit a828cde96d
7 changed files with 23 additions and 24 deletions

View File

@@ -91,7 +91,7 @@ namespace {
void check_constraints(btree<1, uint64_traits>::ptr tree) {
typedef btree<1, uint64_traits> tree_type;
tree_type::visitor::ptr v(new constraint_visitor);
constraint_visitor v;
tree->visit_depth_first(v);
}
}