Index: base/logging.cc |
diff --git a/base/logging.cc b/base/logging.cc |
index 7bd6d63befca8244720bddd1ed5ba4d1771e68ed..c1f5f38d72303d4d638119c75148de69666b0c1e 100644 |
--- a/base/logging.cc |
+++ b/base/logging.cc |
@@ -343,6 +343,11 @@ void CloseLogFileUnlocked() { |
} // namespace |
+// This is never instantiated, it's just used for EAT_STREAM_PARAMETERS to have |
+// an object of the correct type on the LHS of the unused part of the ternary |
+// operator. |
+std::ostream* g_swallow_stream; |
+ |
LoggingSettings::LoggingSettings() |
: logging_dest(LOG_DEFAULT), |
log_file(nullptr), |