table/cuckoo_table_reader.cc: pass func parameter by reference
Fix for: [table/cuckoo_table_reader.cc:196]: (performance) Function parameter 'target' should be passed by reference. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
5abd8add7d
commit
55652043c8
@ -193,7 +193,7 @@ class CuckooTableIterator : public Iterator {
|
||||
struct BucketComparator {
|
||||
BucketComparator(const Slice& file_data, const Comparator* ucomp,
|
||||
uint32_t bucket_len, uint32_t user_key_len,
|
||||
const Slice target = Slice())
|
||||
const Slice& target = Slice())
|
||||
: file_data_(file_data),
|
||||
ucomp_(ucomp),
|
||||
bucket_len_(bucket_len),
|
||||
|
Loading…
Reference in New Issue
Block a user