Merge pull request #2385 from panzhongxian/v1.x

Remove `try_lock` from null_mutex.
pull/2386/head
Gabi Melman 3 years ago committed by GitHub
commit 9e8e52c048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,10 +13,6 @@ struct null_mutex
{
void lock() const {}
void unlock() const {}
bool try_lock() const
{
return true;
}
};
struct null_atomic_int

Loading…
Cancel
Save