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