Explicitly initialize the base class of LogStream
[folly.git] / folly / experimental / logging / LogStream.cpp
index 947d76d..3bf4acf 100644 (file)
@@ -46,7 +46,7 @@ LogStreamBuffer::int_type LogStreamBuffer::overflow(int_type ch) {
   }
 }
 
-LogStream::LogStream() {
+LogStream::LogStream() : std::ostream(nullptr) {
   rdbuf(&buffer_);
 }