diff --git a/db/db_test.cc b/db/db_test.cc index c09cc74df52..986d5810eca 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -6138,7 +6138,7 @@ class WrappedBloom : public FilterPolicy { const FilterPolicy* filter_; mutable uint32_t counter_; - rocksdb::Slice convertKey(const rocksdb::Slice key) const { + rocksdb::Slice convertKey(const rocksdb::Slice& key) const { return key; } };