Skip to content

Commit

Permalink
Merge pull request #2385 from panzhongxian/v1.x
Browse files Browse the repository at this point in the history
Remove `try_lock` from null_mutex.
  • Loading branch information
gabime committed May 20, 2022
2 parents fc93ddb + 1f0c2f9 commit 9e8e52c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/spdlog/details/null_mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ struct null_mutex
{
void lock() const {}
void unlock() const {}
bool try_lock() const
{
return true;
}
};

struct null_atomic_int
Expand Down

0 comments on commit 9e8e52c

Please sign in to comment.