mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 14:42:13 +08:00
typo
This commit is contained in:
parent
e754cbf763
commit
e6b0aaf94a
@ -42,7 +42,7 @@ public:
|
|||||||
messages_.push_back(log_msg_buffer{msg});
|
messages_.push_back(log_msg_buffer{msg});
|
||||||
}
|
}
|
||||||
|
|
||||||
// pop all items in the q and apply the give fun on each of them.
|
// pop all items in the q and apply the given fun on each of them.
|
||||||
void foreach_pop(std::function<void(const details::log_msg)> fun)
|
void foreach_pop(std::function<void(const details::log_msg)> fun)
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock{mutex_};
|
std::lock_guard<std::mutex> lock{mutex_};
|
||||||
|
Loading…
Reference in New Issue
Block a user