Small template rename

This commit is contained in:
gabime 2018-04-29 00:20:04 +03:00
parent 0d61ab82e4
commit 9b5c5b4f3d
1 changed files with 2 additions and 2 deletions

View File

@ -22,13 +22,13 @@ namespace sinks {
* of the message.
* If no color terminal detected, omit the escape codes.
*/
template<class StdoutTrait, class ConsoleMutexTrait>
template<class ConsoleStdoutTrait, class ConsoleMutexTrait>
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())
{