mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Remove try_lock from null_mutex.
This commit is contained in:
parent
fc93ddbefe
commit
1f0c2f9f36
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user