mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
Fixed windows compile
This commit is contained in:
parent
6f2a09bc15
commit
3851c8e4a2
@ -122,6 +122,9 @@ void wincolor_sink<Mutex>::write_to_file_(const memory_buf_t &formatted) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// template instantiations
|
// template instantiations
|
||||||
|
template class SPDLOG_API wincolor_stdout_sink<std::mutex>;
|
||||||
|
template class SPDLOG_API wincolor_stdout_sink<details::null_mutex>;
|
||||||
|
|
||||||
template <typename Mutex>
|
template <typename Mutex>
|
||||||
wincolor_stdout_sink<Mutex>::wincolor_stdout_sink(color_mode mode)
|
wincolor_stdout_sink<Mutex>::wincolor_stdout_sink(color_mode mode)
|
||||||
: wincolor_sink<Mutex>(::GetStdHandle(STD_OUTPUT_HANDLE), mode) {}
|
: wincolor_sink<Mutex>(::GetStdHandle(STD_OUTPUT_HANDLE), mode) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user