Index: third_party/protobuf/src/google/protobuf/io/printer.cc |
diff --git a/third_party/protobuf/src/google/protobuf/io/printer.cc b/third_party/protobuf/src/google/protobuf/io/printer.cc |
index c7d3074d4284816cb4a7abc7bf4415f60a6c5a6c..9ab90deec60d76720276e369b0f1101e6782edd8 100644 |
--- a/third_party/protobuf/src/google/protobuf/io/printer.cc |
+++ b/third_party/protobuf/src/google/protobuf/io/printer.cc |
@@ -132,6 +132,17 @@ void Printer::Print(const char* text, |
Print(vars, text); |
} |
+void Printer::Print(const char* text, |
+ const char* variable1, const string& value1, |
+ const char* variable2, const string& value2, |
+ const char* variable3, const string& value3) { |
+ map<string, string> vars; |
+ vars[variable1] = value1; |
+ vars[variable2] = value2; |
+ vars[variable3] = value3; |
+ Print(vars, text); |
+} |
+ |
void Printer::Indent() { |
indent_ += " "; |
} |