db_test.cc: pass parameter by reference
Fix for: [db/db_test.cc:6141]: (performance) Function parameter 'key' should be passed by reference. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
68ca534169
commit
53910ddb15
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user