From a340b3812c715685e3c8ecdbebefaf10f40b46d1 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 18 Jun 2019 23:42:36 +0300 Subject: [PATCH] Add missing template instantiation --- src/spdlog.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;