mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
typo
This commit is contained in:
@@ -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_};
|
||||||
|
Reference in New Issue
Block a user