Fixed clang build in env.h

Summary: Mark function as override.

Test Plan: USE_CLANG=1 make -j32 check

Reviewers: sdong, yhchiang, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D35163
main
Venkatesh Radhakrishnan 10 years ago
parent b2b3086524
commit d4d42c02ea
  1. 2
      include/rocksdb/env.h

@ -814,7 +814,7 @@ class EnvWrapper : public Env {
return target_->Schedule(f, a, pri, tag); return target_->Schedule(f, a, pri, tag);
} }
int UnSchedule(void* tag, Priority pri) { int UnSchedule(void* tag, Priority pri) override {
return target_->UnSchedule(tag, pri); return target_->UnSchedule(tag, pri);
} }

Loading…
Cancel
Save