mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
balagan
This commit is contained in:
@@ -60,8 +60,9 @@ inline void c11log::sinks::async_sink::sink_it_(const std::string& msg)
|
||||
|
||||
inline void c11log::sinks::async_sink::thread_loop_()
|
||||
{
|
||||
constexpr auto pop_timeout = std::chrono::seconds(1);
|
||||
std::string msg;
|
||||
auto pop_timeout = std::chrono::seconds(1);
|
||||
|
||||
while (active_)
|
||||
{
|
||||
if (q_.pop(msg, pop_timeout))
|
||||
|
Reference in New Issue
Block a user