diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index 40424fc2..58626e39 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -22,13 +22,13 @@ namespace sinks { * of the message. * If no color terminal detected, omit the escape codes. */ -template +template class ansicolor_sink : public sink { public: using mutex_t = typename ConsoleMutexTrait::mutex_t; ansicolor_sink() - : target_file_(StdoutTrait::stream()) + : target_file_(ConsoleStdoutTrait::stream()) , _mutex(ConsoleMutexTrait::console_mutex()) {