From 3851c8e4a28179b1643da2af6d0daa05e887ca22 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 7 Dec 2024 01:21:27 +0200 Subject: [PATCH] Fixed windows compile --- src/sinks/wincolor_sink.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sinks/wincolor_sink.cpp b/src/sinks/wincolor_sink.cpp index a03957ac..090872ef 100644 --- a/src/sinks/wincolor_sink.cpp +++ b/src/sinks/wincolor_sink.cpp @@ -122,6 +122,9 @@ void wincolor_sink::write_to_file_(const memory_buf_t &formatted) { } // template instantiations +template class SPDLOG_API wincolor_stdout_sink; +template class SPDLOG_API wincolor_stdout_sink; + template wincolor_stdout_sink::wincolor_stdout_sink(color_mode mode) : wincolor_sink(::GetStdHandle(STD_OUTPUT_HANDLE), mode) {}