Commit e4f0d644 authored by gabime's avatar gabime

Small template rename

parent 9b5c5b4f
......@@ -22,13 +22,13 @@ namespace sinks {
* of the message.
* If no color terminal detected, omit the escape codes.
*/
template<class ConsoleStdoutTrait, class ConsoleMutexTrait>
template<class ConsoleTargetTrait, class ConsoleMutexTrait>
class ansicolor_sink : public sink
{
public:
using mutex_t = typename ConsoleMutexTrait::mutex_t;
ansicolor_sink()
: target_file_(ConsoleStdoutTrait::stream())
: target_file_(ConsoleTargetTrait::stream())
, _mutex(ConsoleMutexTrait::console_mutex())
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment