From 0a205680fe84ecb218585fa047588c2c263dc7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Tue, 14 Jun 2016 18:46:47 +0200 Subject: [PATCH] Made default color policy autodetection again. --- include/plasp/utils/LogStream.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/plasp/utils/LogStream.h b/include/plasp/utils/LogStream.h index e086b6d..87760f3 100644 --- a/include/plasp/utils/LogStream.h +++ b/include/plasp/utils/LogStream.h @@ -40,13 +40,13 @@ class LogStream public: LogStream(StandardStream standardStream) : m_standardStream{standardStream}, - m_colorPolicy{ColorPolicy::Never} + m_colorPolicy{ColorPolicy::Auto} { } LogStream(const LogStream &other) : m_standardStream{other.m_standardStream}, - m_colorPolicy{ColorPolicy::Never} + m_colorPolicy{ColorPolicy::Auto} { } @@ -62,7 +62,7 @@ class LogStream : m_standardStream{other.m_standardStream}, m_colorPolicy{other.m_colorPolicy} { - other.m_colorPolicy = ColorPolicy::Never; + other.m_colorPolicy = ColorPolicy::Auto; } LogStream &operator=(LogStream &&other) @@ -70,7 +70,7 @@ class LogStream m_standardStream = other.m_standardStream; m_colorPolicy = other.m_colorPolicy; - other.m_colorPolicy = ColorPolicy::Never; + other.m_colorPolicy = ColorPolicy::Auto; return *this; }