diff --git a/src/spdlog.cpp b/src/spdlog.cpp index e5194dab..dc67f39f 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -45,12 +45,16 @@ template class spdlog::details::mpmc_blocking_queue; #ifdef _WIN32 #include "spdlog/sinks/wincolor_sink-inl.h" +template class spdlog::sinks::wincolor_sink; +template class spdlog::sinks::wincolor_sink; template class spdlog::sinks::wincolor_stdout_sink; template class spdlog::sinks::wincolor_stdout_sink; template class spdlog::sinks::wincolor_stderr_sink; template class spdlog::sinks::wincolor_stderr_sink; #else #include "spdlog/sinks/ansicolor_sink-inl.h" +template class spdlog::sinks::ansicolor_sink; +template class spdlog::sinks::ansicolor_sink; template class spdlog::sinks::ansicolor_stdout_sink; template class spdlog::sinks::ansicolor_stdout_sink; template class spdlog::sinks::ansicolor_stderr_sink;