|
|
@ -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 |
|
|
|