Skip to content

Commit 3d74f09

Browse files
committed
Fix compile
1 parent 53b0039 commit 3d74f09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

table/full_filter_block_test.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class TestFilterBitsBuilder : public FilterBitsBuilder {
3030
for (size_t i = 0; i < hash_entries_.size(); i++) {
3131
EncodeFixed32(data + i * 4, hash_entries_[i]);
3232
}
33-
buf->reset(data);
33+
const char* const_data = data;
34+
buf->reset(const_data);
3435
return Slice(data, len);
3536
}
3637

0 commit comments

Comments
 (0)