Fixed an issue with gcc 5.

This commit is contained in:
Patrick Lühne 2016-06-14 15:59:16 +02:00
parent febef4bed4
commit 48137ec24d

View File

@ -34,7 +34,7 @@ class LogStream
bool supportsColor() const
{
const auto fileDescriptor =
(StandardStream == StandardStream::Out)
(StandardStream == utils::StandardStream::Out)
? STDOUT_FILENO
: STDERR_FILENO;
@ -43,7 +43,7 @@ class LogStream
std::ostream &ostream()
{
return (StandardStream == StandardStream::Out)
return (StandardStream == utils::StandardStream::Out)
? std::cout
: std::cerr;
}