[btree_damage_visitor_t] pass a couple of params by const reference rather than value.
This commit is contained in:
parent
ac73593c15
commit
3066487814
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user