Fix compile
This commit is contained in:
parent
53b0039954
commit
3d74f09979
@ -30,7 +30,8 @@ class TestFilterBitsBuilder : public FilterBitsBuilder {
|
|||||||
for (size_t i = 0; i < hash_entries_.size(); i++) {
|
for (size_t i = 0; i < hash_entries_.size(); i++) {
|
||||||
EncodeFixed32(data + i * 4, hash_entries_[i]);
|
EncodeFixed32(data + i * 4, hash_entries_[i]);
|
||||||
}
|
}
|
||||||
buf->reset(data);
|
const char* const_data = data;
|
||||||
|
buf->reset(const_data);
|
||||||
return Slice(data, len);
|
return Slice(data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user