This commit is contained in:
gabi 2014-12-03 00:50:12 +02:00
parent 33b976a4c9
commit 9e882c4dd2

View File

@ -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))));
} }