1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-31 10:22:41 +08:00

Fix Win32 event log sink

This commit is contained in:
Crunkle 2020-02-17 17:15:43 +00:00
parent c9e094d9fc
commit d38d53d9dd

View File

@ -219,7 +219,7 @@ protected:
using namespace internal;
memory_buf_t formatted;
formatter_->format(msg, formatted);
base_sink<Mutex>::formatter_->format(msg, formatted);
formatted.push_back('\0');
LPCSTR lp_str = static_cast<LPCSTR>(formatted.data());