From d4d42c02ea94262cad9442fb8926b0f353c05b25 Mon Sep 17 00:00:00 2001 From: Venkatesh Radhakrishnan Date: Mon, 16 Mar 2015 19:51:25 -0700 Subject: [PATCH] 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 --- include/rocksdb/env.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rocksdb/env.h b/include/rocksdb/env.h index dfb12254f..64af02049 100644 --- a/include/rocksdb/env.h +++ b/include/rocksdb/env.h @@ -814,7 +814,7 @@ class EnvWrapper : public Env { 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); }