From ab455ce495bea2833e163715f6e39f2eea6cfbba Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Thu, 11 Jun 2015 14:32:10 -0700 Subject: [PATCH] fix clang build --- util/env_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/env_posix.cc b/util/env_posix.cc index b3c63c8e8..77fb0ba44 100644 --- a/util/env_posix.cc +++ b/util/env_posix.cc @@ -1435,7 +1435,7 @@ class PosixEnv : public Env { return gettid(tid); } - virtual uint64_t GetThreadID() const { + virtual uint64_t GetThreadID() const override { return gettid(pthread_self()); }