From e1475e798e2429d171b8f58fc3c96c81db25639c Mon Sep 17 00:00:00 2001 From: okaestne Date: Mon, 5 Sep 2022 00:24:38 +0200 Subject: [PATCH] fix: always init coloredOutput --- Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Log.cpp b/Log.cpp index 2d30e11..649c890 100644 --- a/Log.cpp +++ b/Log.cpp @@ -63,7 +63,7 @@ public: private: std::ostream* osStd = &std::cout; std::ostream* osErr = &std::cerr; - bool coloredOutput; + bool coloredOutput = false; virtual void log(Level lvl, std::stringbuf* sbuf) { // off fatal error warn note info debug trace