mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Merge pull request #2385 from panzhongxian/v1.x
Remove `try_lock` from null_mutex.
This commit is contained in:
commit
9e8e52c048
@ -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