[btree_damage_visitor_t] pass a couple of params by const reference rather than value.

This commit is contained in:
Joe Thornber 2013-05-28 13:04:00 +01:00
parent ac73593c15
commit 3066487814

View File

@ -448,7 +448,7 @@ namespace {
} }
} }
void expect_damage(btree_path path, base::run<uint64_t> keys) { void expect_damage(btree_path const &path, base::run<uint64_t> const &keys) {
EXPECT_CALL(damage_visitor_, visit(Eq(path), DamagedKeys(keys))).Times(1); EXPECT_CALL(damage_visitor_, visit(Eq(path), DamagedKeys(keys))).Times(1);
} }