mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
fix
This commit is contained in:
parent
33b976a4c9
commit
9e882c4dd2
@ -163,7 +163,7 @@ inline void spdlog::details::async_log_helper::log(const details::log_msg& msg)
|
||||
auto last_op_time = clock::now();
|
||||
do
|
||||
{
|
||||
_sleep_or_yield(last_op_time ;
|
||||
_sleep_or_yield(last_op_time);
|
||||
}
|
||||
while (!_q.push(std::unique_ptr < async_msg >(new async_msg(msg))));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user