Migrate direct callers of options().packed() to is_packed() helper.

PiperOrigin-RevId: 618254593
pull/16223/head
Mike Kruskal 8 months ago committed by Copybara-Service
parent 500c953d10
commit e56ebcec8d
  1. 3
      src/google/protobuf/generated_message_reflection.cc

@ -2231,8 +2231,7 @@ void Reflection::AddEnumValueInternal(Message* message,
int value) const {
if (field->is_extension()) {
MutableExtensionSet(message)->AddEnum(field->number(), field->type(),
field->options().packed(), value,
field);
field->is_packed(), value, field);
} else {
AddField<int>(message, field, value);
}

Loading…
Cancel
Save