From fa4b5b3db87a0ff7803ca2864d24b3b67226ef5f Mon Sep 17 00:00:00 2001 From: Alexey Maykov Date: Fri, 9 Oct 2015 19:30:58 -0700 Subject: [PATCH] Fix for the travis build caused by my previous commit Summary: My previous commit ('Passing table properties to compaction callback') broke the clang build. Here is the fix. Test Plan: USE_CLANG=1 make all -j Reviewers: igor Reviewed By: igor Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D48489 --- db/listener_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/listener_test.cc b/db/listener_test.cc index 25ca218e5..0880a6597 100644 --- a/db/listener_test.cc +++ b/db/listener_test.cc @@ -157,10 +157,11 @@ struct TestPropertiesCollector : public rocksdb::TablePropertiesCollector { const rocksdb::Slice& value, rocksdb::EntryType type, rocksdb::SequenceNumber seq, - uint64_t file_size) { + uint64_t file_size) override { return Status::OK(); } - virtual rocksdb::Status Finish(rocksdb::UserCollectedProperties* properties) { + virtual rocksdb::Status Finish( + rocksdb::UserCollectedProperties* properties) override { properties->insert({"0", "1"}); return Status::OK(); }