From 16eef3ebf1309d2a1dd7982487090c5172f7f8e6 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 7 Dec 2024 16:42:22 +0200 Subject: [PATCH] fixed ringbuffer_sink.h --- include/spdlog/sinks/ringbuffer_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/ringbuffer_sink.h b/include/spdlog/sinks/ringbuffer_sink.h index bab2cb40a..677f76dd1 100644 --- a/include/spdlog/sinks/ringbuffer_sink.h +++ b/include/spdlog/sinks/ringbuffer_sink.h @@ -46,7 +46,7 @@ class ringbuffer_sink final : public base_sink { } protected: - void sink_it_(const details::log_msg &msg) override { q_.push_back(details::async_log_msg{details::async_log_msg::msg_type::log, msg}); } + void sink_it_(const details::log_msg &msg) override { q_.push_back(details::async_log_msg{details::async_log_msg::type::log, msg}); } void flush_() override {} private: