Remove try_lock from null_mutex.

This commit is contained in:
panzhongxian 2022-05-20 16:20:19 +08:00
parent fc93ddbefe
commit 1f0c2f9f36

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