Fix compile warning in compact_on_deletion_collector in some environment
Summary: Fix compile warning in compact_on_deletion_collector some environment Test Plan: make Reviewers: igor, sdong, anthony, IslamAbdelRahman Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D43467
This commit is contained in:
parent
26894303c1
commit
be8621ffaf
@ -70,12 +70,12 @@ class CompactOnDeletionCollector : public TablePropertiesCollector {
|
||||
}
|
||||
|
||||
// The name of the properties collector can be used for debugging purpose.
|
||||
virtual const char* Name() const {
|
||||
virtual const char* Name() const override {
|
||||
return "CompactOnDeletionCollector";
|
||||
}
|
||||
|
||||
// EXPERIMENTAL Return whether the output file should be further compacted
|
||||
virtual bool NeedCompact() const {
|
||||
virtual bool NeedCompact() const override {
|
||||
return need_compaction_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user