From 663df6278d5d86cd51f9bc28fb7f2648c618b9b7 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 14 Dec 2024 12:46:56 +0200 Subject: [PATCH] forward declaration --- src/sinks/async_sink.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sinks/async_sink.cpp b/src/sinks/async_sink.cpp index 21d19b0c..3361688b 100644 --- a/src/sinks/async_sink.cpp +++ b/src/sinks/async_sink.cpp @@ -7,6 +7,7 @@ #include #include +#include "spdlog/details/mpmc_blocking_q.h" #include "spdlog/common.h" #include "spdlog/pattern_formatter.h" @@ -93,7 +94,7 @@ void async_sink::flush_() { } template -void async_sink::send_message_(const async_log_msg::type msg_type, const details::log_msg &msg) { +void async_sink::send_message_(async_log_msg::type msg_type, const details::log_msg &msg) { switch (overflow_policy_) { case overflow_policy::block: q_->enqueue(async_log_msg(msg_type, msg));