Fix compile

This commit is contained in:
Igor Canadi 2014-09-22 15:19:20 -07:00
parent 53b0039954
commit 3d74f09979
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ class TestFilterBitsBuilder : public FilterBitsBuilder {
for (size_t i = 0; i < hash_entries_.size(); i++) {
EncodeFixed32(data + i * 4, hash_entries_[i]);
}
buf->reset(data);
const char* const_data = data;
buf->reset(const_data);
return Slice(data, len);
}