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

View File

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