aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/stubs/stringprintf.cc
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@google.com>2018-01-19 16:46:57 -0800
committerAdam Cozzette <acozzette@acozzette0.svl.corp.google.com>2018-01-26 16:17:14 -0800
commit39a789e657a52e835c281233b63cc2a6bb387fd4 (patch)
tree18954017db14eb09c290ddbe0425a212b14d2b28 /src/google/protobuf/stubs/stringprintf.cc
parentc236896ec5a7f9c0b021f14be61ee2e0a2c7a91b (diff)
downloadprotobuf-39a789e657a52e835c281233b63cc2a6bb387fd4.tar.gz
protobuf-39a789e657a52e835c281233b63cc2a6bb387fd4.tar.bz2
protobuf-39a789e657a52e835c281233b63cc2a6bb387fd4.zip
Removed using statements from common.h
These statements pulled a bunch of symbols from the std namespace into the global namespace. This commit removes all of them except for std::string, which is a bit trickier to remove.
Diffstat (limited to 'src/google/protobuf/stubs/stringprintf.cc')
-rw-r--r--src/google/protobuf/stubs/stringprintf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/stringprintf.cc b/src/google/protobuf/stubs/stringprintf.cc
index 83fdfe45..d98b9b87 100644
--- a/src/google/protobuf/stubs/stringprintf.cc
+++ b/src/google/protobuf/stubs/stringprintf.cc
@@ -137,7 +137,7 @@ const int kStringPrintfVectorMaxArgs = 32;
// and we can fix the problem or protect against an attack.
static const char string_printf_empty_block[256] = { '\0' };
-string StringPrintfVector(const char* format, const vector<string>& v) {
+string StringPrintfVector(const char* format, const std::vector<string>& v) {
GOOGLE_CHECK_LE(v.size(), kStringPrintfVectorMaxArgs)
<< "StringPrintfVector currently only supports up to "
<< kStringPrintfVectorMaxArgs << " arguments. "