patrick
/
plasp
Archived
1
0
Fork 0

Made default color policy autodetection again.

This commit is contained in:
Patrick Lühne 2016-06-14 18:46:47 +02:00
parent 52fee6a4c1
commit 0a205680fe
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}