File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5007,10 +5007,10 @@ class LockableImpl<phmap::NullMutex>: public phmap::NullMutex
5007
5007
{
5008
5008
void lock () ABSL_EXCLUSIVE_LOCK_FUNCTION() { this ->Lock (); }
5009
5009
void unlock () ABSL_UNLOCK_FUNCTION() { this ->Unlock (); }
5010
- void try_lock () ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true ) { this ->TryLock (); }
5010
+ bool try_lock () ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true ) { return this ->TryLock (); }
5011
5011
void lock_shared () ABSL_SHARED_LOCK_FUNCTION() { this ->ReaderLock (); }
5012
5012
void unlock_shared () ABSL_UNLOCK_FUNCTION() { this ->ReaderUnlock (); }
5013
- void try_lock_shared () ABSL_SHARED_TRYLOCK_FUNCTION(true ) { this ->ReaderTryLock (); }
5013
+ bool try_lock_shared () ABSL_SHARED_TRYLOCK_FUNCTION(true ) { return this ->ReaderTryLock (); }
5014
5014
};
5015
5015
5016
5016
template <>
You can’t perform that action at this time.
0 commit comments