瀏覽代碼

C++11 cleanup for util/mutexlock.h.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=213398583
main
costan 6 年之前
committed by Victor Costan
父節點
當前提交
c43565dd39
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      util/mutexlock.h

+ 3
- 3
util/mutexlock.h 查看文件

@ -28,11 +28,11 @@ class SCOPED_LOCKABLE MutexLock {
}
~MutexLock() UNLOCK_FUNCTION() { this->mu_->Unlock(); }
MutexLock(const MutexLock&) = delete;
MutexLock& operator=(const MutexLock&) = delete;
private:
port::Mutex *const mu_;
// No copying allowed
MutexLock(const MutexLock&);
void operator=(const MutexLock&);
};
} // namespace leveldb

Loading…
取消
儲存