Fix compile warning in thread_status_util.h on Mac

Summary:
Fix compile warning in thread_status_util.h on Mac

Test Plan:
make dbg -j32
This commit is contained in:
Yueh-Hsuan Chiang 2015-03-13 18:09:01 -07:00
parent 417367c42d
commit 56c4a9c760

View File

@ -116,8 +116,10 @@ class AutoThreadOperationStageUpdater {
ThreadStatus::OperationStage stage);
~AutoThreadOperationStageUpdater();
#if ROCKSDB_USING_THREAD_STATUS
private:
ThreadStatus::OperationStage prev_stage_;
#endif
};
} // namespace rocksdb