diff --git a/logger.h b/logger.h index 26326b7..cba77db 100644 --- a/logger.h +++ b/logger.h @@ -7,8 +7,8 @@ class Logger private: class LogEntry { - bool headerSent; - std::ostream *out; + bool headerSent = false; + std::ostream *out = nullptr; std::string prefix; public: