Merge pull request #2385 from panzhongxian/v1.x

Remove `try_lock` from null_mutex.
This commit is contained in:
Gabi Melman 2022-05-20 12:09:26 +03:00 committed by GitHub
commit 9e8e52c048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

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