diff options
Diffstat (limited to 'upb/bindings/googlepb/bridge.cc')
-rw-r--r-- | upb/bindings/googlepb/bridge.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/bindings/googlepb/bridge.cc b/upb/bindings/googlepb/bridge.cc index a666ff6..6ae8868 100644 --- a/upb/bindings/googlepb/bridge.cc +++ b/upb/bindings/googlepb/bridge.cc @@ -115,6 +115,7 @@ reffed_ptr<FieldDef> DefBuilder::NewFieldDef(const goog::FieldDescriptor* f, upb_f->set_number(f->number(), &status); upb_f->set_label(FieldDef::ConvertLabel(f->label())); upb_f->set_descriptor_type(FieldDef::ConvertDescriptorType(f->type())); + upb_f->set_packed(f->options().packed()); #ifdef UPB_GOOGLE3 upb_f->set_lazy(f->options().lazy()); #endif |