From 48137ec24d4f6e3269bfc767c729f666948fa92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Tue, 14 Jun 2016 15:59:16 +0200 Subject: [PATCH] Fixed an issue with gcc 5. --- include/plasp/utils/LogStream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/plasp/utils/LogStream.h b/include/plasp/utils/LogStream.h index 13d46af..cd7d1c1 100644 --- a/include/plasp/utils/LogStream.h +++ b/include/plasp/utils/LogStream.h @@ -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; }