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
main
Yueh-Hsuan Chiang 10 years ago
parent f9758e0129
commit d6c7300ccf
  1. 5
      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<int64_t>& input_files) {
void OnCompactionCompleted(DB *db, const CompactionJobInfo& ci) override {
compacted_dbs_.push_back(db);
}

Loading…
Cancel
Save