fix: do not export g_logging_fail_func (#1042)

This commit is contained in:
Sergiu Deitsch 2024-01-06 16:58:51 +01:00 committed by GitHub
parent 2c735b8dfb
commit 1ef1ab37e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1880,7 +1880,7 @@ void LogMessage::RecordCrashReason(
#endif
}
GLOG_EXPORT logging_fail_func_t g_logging_fail_func =
GLOG_NO_EXPORT logging_fail_func_t g_logging_fail_func =
reinterpret_cast<logging_fail_func_t>(&abort);
NullStream::NullStream() : LogMessage::LogStream(message_buffer_, 2, 0) {}