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) {}