From 306648781446f642a65b2e175e95cbc54ed4d41f Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 28 May 2013 13:04:00 +0100 Subject: [PATCH] [btree_damage_visitor_t] pass a couple of params by const reference rather than value. --- unit-tests/btree_damage_visitor_t.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-tests/btree_damage_visitor_t.cc b/unit-tests/btree_damage_visitor_t.cc index 3b6c2f0..7e446d5 100644 --- a/unit-tests/btree_damage_visitor_t.cc +++ b/unit-tests/btree_damage_visitor_t.cc @@ -448,7 +448,7 @@ namespace { } } - void expect_damage(btree_path path, base::run keys) { + void expect_damage(btree_path const &path, base::run const &keys) { EXPECT_CALL(damage_visitor_, visit(Eq(path), DamagedKeys(keys))).Times(1); }