From f3bb024fd6eba9ba95abd653efa47e3b37e1a999 Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Fri, 29 Apr 2016 15:19:19 -0700 Subject: [PATCH] Fix clang build Summary: fix clang build Test Plan: USE_CLANG make all -j64 Reviewers: horuff, sdong Subscribers: andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D57453 --- tools/ldb_cmd.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ldb_cmd.cc b/tools/ldb_cmd.cc index 9134c0ba1..b25cc87ce 100644 --- a/tools/ldb_cmd.cc +++ b/tools/ldb_cmd.cc @@ -1531,24 +1531,24 @@ class InMemoryHandler : public WriteBatch::Handler { return Status::OK(); } - virtual Status MarkBeginPrepare() { + virtual Status MarkBeginPrepare() override { row_ << "BEGIN_PREARE "; return Status::OK(); } - virtual Status MarkEndPrepare(const Slice& xid) { + virtual Status MarkEndPrepare(const Slice& xid) override { row_ << "END_PREPARE("; row_ << LDBCommand::StringToHex(xid.ToString()) << ") "; return Status::OK(); } - virtual Status MarkRollback(const Slice& xid) { + virtual Status MarkRollback(const Slice& xid) override { row_ << "ROLLBACK("; row_ << LDBCommand::StringToHex(xid.ToString()) << ") "; return Status::OK(); } - virtual Status MarkCommit(const Slice& xid) { + virtual Status MarkCommit(const Slice& xid) override { row_ << "COMMIT("; row_ << LDBCommand::StringToHex(xid.ToString()) << ") "; return Status::OK();