Fix clang build - add override
Summary: In new clang we need to add override to every overriden function Test Plan: none Reviewers: rven Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D38259
This commit is contained in:
parent
d978139063
commit
3996fff8a1
@ -12561,7 +12561,7 @@ TEST_F(DBTest, SuggestCompactRangeTest) {
|
|||||||
class CompactionFilterFactoryGetContext : public CompactionFilterFactory {
|
class CompactionFilterFactoryGetContext : public CompactionFilterFactory {
|
||||||
public:
|
public:
|
||||||
virtual std::unique_ptr<CompactionFilter> CreateCompactionFilter(
|
virtual std::unique_ptr<CompactionFilter> CreateCompactionFilter(
|
||||||
const CompactionFilter::Context& context) {
|
const CompactionFilter::Context& context) override {
|
||||||
saved_context = context;
|
saved_context = context;
|
||||||
std::unique_ptr<CompactionFilter> empty_filter;
|
std::unique_ptr<CompactionFilter> empty_filter;
|
||||||
return empty_filter;
|
return empty_filter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user