Quellcode durchsuchen

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

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=213398583
main
costan vor 6 Jahren
committed von Victor Costan
Ursprung
Commit
c43565dd39
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. +3
    -3
      util/mutexlock.h

+ 3
- 3
util/mutexlock.h Datei anzeigen

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

||||||
x
 
000:0
Laden…
Abbrechen
Speichern