mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
fix linux compilation issue
This commit is contained in:
Vendored
+2
-2
@@ -4612,7 +4612,7 @@ public:
|
||||
|
||||
WriteLock(Mutex& m, try_to_lock_t) :
|
||||
m_(&m), locked_(false) {
|
||||
try_lock();
|
||||
m_->try_lock();
|
||||
}
|
||||
|
||||
WriteLock(WriteLock &&o) :
|
||||
@@ -4689,7 +4689,7 @@ public:
|
||||
|
||||
ReadLock(Mutex& m, try_to_lock_t) :
|
||||
m_(&m), locked_(false) {
|
||||
try_lock_shared();
|
||||
m_->try_lock_shared();
|
||||
}
|
||||
|
||||
ReadLock(ReadLock &&o) :
|
||||
|
||||
Reference in New Issue
Block a user