diff --git a/include/spdlog/details/async_log_helper.h b/include/spdlog/details/async_log_helper.h index 494cc48f..d26ea1e0 100644 --- a/include/spdlog/details/async_log_helper.h +++ b/include/spdlog/details/async_log_helper.h @@ -311,7 +311,7 @@ inline void spdlog::details::async_log_helper::handle_flush_interval(log_clock:: for (auto &s : _sinks) s->flush(); now = last_flush = details::os::now(); - _flush_requested = false; + _flush_requested = false;s } } inline void spdlog::details::async_log_helper::set_formatter(formatter_ptr msg_formatter)