Index: third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc |
index ac5d8aea217917729e6bc316413adfe24ececaa2..0bc9dc10ec9e044b63d0de120476693963e446dd 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc |
@@ -115,7 +115,7 @@ MapFieldGenerator::MapFieldGenerator(const FieldDescriptor* descriptor, |
if (value_field_flags.find("GPBFieldHasEnumDescriptor") != string::npos) { |
field_flags.push_back("GPBFieldHasEnumDescriptor"); |
} |
- variables_["fieldflags"] = BuildFlagsString(field_flags); |
+ variables_["fieldflags"] = BuildFlagsString(FLAGTYPE_FIELD, field_flags); |
ObjectiveCType value_objc_type = GetObjectiveCType(value_descriptor); |
const bool value_is_object_type = |