summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Rosenstock <jmr@google.com>2015-03-26 18:25:14 (GMT)
committerJesse Rosenstock <jmr@google.com>2015-03-26 18:25:14 (GMT)
commit162a8ef4ea992b7a79c582f96d9cdde18925f49a (patch)
tree166b728f44e4a2c52d170490700e66c4b001b03d /src
parent47ab571f38e8c6266c260010ac631f888e302e6d (diff)
downloadglog-162a8ef4ea992b7a79c582f96d9cdde18925f49a.zip
glog-162a8ef4ea992b7a79c582f96d9cdde18925f49a.tar.gz
glog-162a8ef4ea992b7a79c582f96d9cdde18925f49a.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/glog/logging.h.in2
1 files changed, 1 insertions, 1 deletions
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<string> *outvec;
// The cast is to disambiguate NULL arguments.
#define LOG_STRING(severity, outvec) \
- LOG_TO_STRING_##severity(static_cast<vector<string>*>(outvec)).stream()
+ LOG_TO_STRING_##severity(static_cast<std::vector<std::string>*>(outvec)).stream()
#define LOG_IF(severity, condition) \
!(condition) ? (void) 0 : @ac_google_namespace@::LogMessageVoidify() & LOG(severity)