Skip to content

Commit

Permalink
fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
critical27 committed Mar 25, 2020
1 parent fc2ee01 commit 0971769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvstore/EventListner.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace kvstore {

class EventListener : public rocksdb::EventListener {
public:
void OnCompactionBegin(rocksdb::DB*, const rocksdb::CompactionJobInfo& info) {
void OnCompactionBegin(rocksdb::DB*, const rocksdb::CompactionJobInfo& info) override {
LOG(INFO) << "Rocksdb start compaction because of "
<< static_cast<int32_t>(info.compaction_reason);
}
Expand Down

0 comments on commit 0971769

Please sign in to comment.