fix clang build

Summary:
override is missing for FilterV2
Closes https://github.com/facebook/rocksdb/pull/1606

Differential Revision: D4263832

Pulled By: IslamAbdelRahman

fbshipit-source-id: d8b337a
This commit is contained in:
Islam AbdelRahman 2016-12-01 18:24:13 -08:00 committed by Facebook Github Bot
parent 56281f3a97
commit edde954e7b
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ TEST_F(CompactionIteratorTest, CompactionFilterSkipUntil) {
virtual Decision FilterV2(int level, const Slice& key, ValueType t, virtual Decision FilterV2(int level, const Slice& key, ValueType t,
const Slice& existing_value, const Slice& existing_value,
std::string* new_value, std::string* new_value,
std::string* skip_until) const { std::string* skip_until) const override {
std::string k = key.ToString(); std::string k = key.ToString();
std::string v = existing_value.ToString(); std::string v = existing_value.ToString();
// See InitIterators() call below for the sequence of keys and their // See InitIterators() call below for the sequence of keys and their