third_party: glog: Fix a typo

This commit is contained in:
Marco 2020-10-10 00:02:08 +08:00 committed by GitHub
parent cccf6244d3
commit 591e0c0828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ index 0b5e6ee..be5a506 100644
+ const int level = AndroidLogLevel((int)data_->severity_); + const int level = AndroidLogLevel((int)data_->severity_);
+ const std::string text = std::string(data_->message_text_); + const std::string text = std::string(data_->message_text_);
+ __android_log_write(level, "native", text.substr(0,data_->num_chars_to_log_).c_str()); + __android_log_write(level, "native", text.substr(0,data_->num_chars_to_log_).c_str());
+#endif // !defined(__ANDROID__) +#endif // defined(__ANDROID__)
+ +
if (append_newline) { if (append_newline) {
// Fix the ostrstream back how it was before we screwed with it. // Fix the ostrstream back how it was before we screwed with it.