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