From 162a8ef4ea992b7a79c582f96d9cdde18925f49a Mon Sep 17 00:00:00 2001 From: Jesse Rosenstock Date: Thu, 26 Mar 2015 14:25:14 -0400 Subject: LOG_STRING: use std::vector and std::string. Previously, plain vector and string were used. This assumed that there were "using" directives or declarations before the macro was used. This will not always be the case. --- src/glog/logging.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/glog/logging.h.in b/src/glog/logging.h.in index e8e3e7a..affe0c5 100644 --- a/src/glog/logging.h.in +++ b/src/glog/logging.h.in @@ -542,7 +542,7 @@ class LogSink; // defined below // vector *outvec; // The cast is to disambiguate NULL arguments. #define LOG_STRING(severity, outvec) \ - LOG_TO_STRING_##severity(static_cast*>(outvec)).stream() + LOG_TO_STRING_##severity(static_cast*>(outvec)).stream() #define LOG_IF(severity, condition) \ !(condition) ? (void) 0 : @ac_google_namespace@::LogMessageVoidify() & LOG(severity) -- cgit v1.2.3