From 33b976a4c9d2a7913fe78f635db25966972acfc3 Mon Sep 17 00:00:00 2001 From: gabi Date: Wed, 3 Dec 2014 00:40:13 +0200 Subject: [PATCH] fix --- include/spdlog/details/async_log_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/async_log_helper.h b/include/spdlog/details/async_log_helper.h index 92c2f18d..ddd16ecf 100644 --- a/include/spdlog/details/async_log_helper.h +++ b/include/spdlog/details/async_log_helper.h @@ -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)))); }