From d6c7300ccfef3554da0ffbc874fd261cf2b1de98 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Tue, 27 Jan 2015 15:01:04 -0800 Subject: [PATCH] Fixed a compile warning in clang in db/listener_test.cc Summary: Fixed a compile warning in clang in db/listener_test.cc Test Plan: make listener_test Reviewers: oridb Reviewed By: oridb Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D32337 --- db/listener_test.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/db/listener_test.cc b/db/listener_test.cc index a1577fba2..80d4d4cd1 100644 --- a/db/listener_test.cc +++ b/db/listener_test.cc @@ -150,10 +150,7 @@ class EventListenerTest { class TestCompactionListener : public EventListener { public: - void OnCompactionCompleted(DB *db, - int input_level, - int output_level, - const std::vector& input_files) { + void OnCompactionCompleted(DB *db, const CompactionJobInfo& ci) override { compacted_dbs_.push_back(db); }