Index: third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h |
index 087dcde0f4eea8476fd63e246468c394d2fec4a5..2930fe59e9c114a2119d3bd08c664498700771a9 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h |
@@ -61,6 +61,10 @@ class MapFieldGenerator : public FieldGenerator { |
void GenerateByteSize(io::Printer* printer) const; |
private: |
+ // A helper for GenerateSerializeWithCachedSizes{,ToArray}. |
+ void GenerateSerializeWithCachedSizes( |
+ io::Printer* printer, const map<string, string>& variables) const; |
+ |
const FieldDescriptor* descriptor_; |
const bool dependent_field_; |
map<string, string> variables_; |