From d38d53d9dd9a147d6e3d70e8218cdf85153f64f5 Mon Sep 17 00:00:00 2001 From: Crunkle Date: Mon, 17 Feb 2020 17:15:43 +0000 Subject: [PATCH] Fix Win32 event log sink --- include/spdlog/sinks/win_eventlog_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/win_eventlog_sink.h b/include/spdlog/sinks/win_eventlog_sink.h index b594e0c9..83835743 100644 --- a/include/spdlog/sinks/win_eventlog_sink.h +++ b/include/spdlog/sinks/win_eventlog_sink.h @@ -219,7 +219,7 @@ protected: using namespace internal; memory_buf_t formatted; - formatter_->format(msg, formatted); + base_sink::formatter_->format(msg, formatted); formatted.push_back('\0'); LPCSTR lp_str = static_cast(formatted.data());