Fix compile error when NROCKSDB_THREAD_STATUS is not used.

Summary: Fix compile error when NROCKSDB_THREAD_STATUS is not used.

Test Plan: make dbg OPT=-DNROCKSDB_THREAD_STATUS -j32

Reviewers: sdong, igor, rven

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D35847
This commit is contained in:
Yueh-Hsuan Chiang 2015-03-24 14:50:32 -07:00
parent 3d1a924ff3
commit cd987c383a

View File

@ -70,8 +70,8 @@ const std::string& ThreadStatus::GetStateName(
return dummy_str;
}
const std::string ThreadStatus::TimeToString(
int64_t time) {
const std::string ThreadStatus::MicrosToString(
uint64_t op_elapsed_time) {
static std::string dummy_str = "";
return dummy_str;
}