From be8621ffafe34ac5e4560a70b0e795eee6f2bc6b Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Mon, 3 Aug 2015 20:51:34 -0700 Subject: [PATCH] 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 --- .../compact_on_deletion_collector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/table_properties_collectors/compact_on_deletion_collector.h b/utilities/table_properties_collectors/compact_on_deletion_collector.h index 0d5e98b3f..eb01e439d 100644 --- a/utilities/table_properties_collectors/compact_on_deletion_collector.h +++ b/utilities/table_properties_collectors/compact_on_deletion_collector.h @@ -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_; }