Fixed windows compile

This commit is contained in:
gabime 2024-12-07 01:05:19 +02:00
parent 8d4943789c
commit 9fa35a9229
4 changed files with 6 additions and 3 deletions

View File

@ -94,7 +94,6 @@ public:
using ansicolor_stdout_sink_mt = ansicolor_stdout_sink<std::mutex>;
using ansicolor_stdout_sink_st = ansicolor_stdout_sink<details::null_mutex>;
using ansicolor_stderr_sink_mt = ansicolor_stderr_sink<std::mutex>;
using ansicolor_stderr_sink_st = ansicolor_stderr_sink<details::null_mutex>;

View File

@ -66,7 +66,6 @@ public:
using wincolor_stdout_sink_mt = wincolor_stdout_sink<std::mutex>;
using wincolor_stdout_sink_st = wincolor_stdout_sink<details::null_mutex>;
using wincolor_stderr_sink_mt = wincolor_stderr_sink<std::mutex>;
using wincolor_stderr_sink_st = wincolor_stderr_sink<details::null_mutex>;

View File

@ -114,7 +114,6 @@ ansicolor_stderr_sink<Mutex>::ansicolor_stderr_sink(color_mode mode)
// template instantiations
template class SPDLOG_API ansicolor_stdout_sink<std::mutex>;
template class SPDLOG_API ansicolor_stdout_sink<spdlog::details::null_mutex>;
template class SPDLOG_API ansicolor_stderr_sink<std::mutex>;
template class SPDLOG_API ansicolor_stderr_sink<spdlog::details::null_mutex>;

View File

@ -125,5 +125,11 @@ void wincolor_sink<Mutex>::write_to_file_(const memory_buf_t &formatted) {
template class SPDLOG_API wincolor_sink<std::mutex>;
template class SPDLOG_API wincolor_sink<details::null_mutex>;
template class SPDLOG_API wincolor_stdout_sink<std::mutex>;
template class SPDLOG_API wincolor_stdout_sink<spdlog::details::null_mutex>;
template class SPDLOG_API wincolor_stderr_sink<std::mutex>;
template class SPDLOG_API wincolor_stderr_sink<spdlog::details::null_mutex>;
} // namespace sinks
} // namespace spdlog