Merge pull request #624 from sergiud/qualify-std-string

fully qualify std::string
This commit is contained in:
Sergiu Deitsch 2021-03-31 00:45:25 +02:00 committed by GitHub
commit 7a6e743eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -578,7 +578,7 @@ class LogSink; // defined below
// NOTE: LOG(severity) expands to LogMessage().stream() for the specified
// severity.
#define LOG_TO_STRING(severity, message) \
LOG_TO_STRING_##severity(static_cast<string*>(message)).stream()
LOG_TO_STRING_##severity(static_cast<std::string*>(message)).stream()
// If a non-NULL pointer is given, we push the message onto the end
// of a vector of strings; otherwise, we report it with LOG(severity).