summaryrefslogtreecommitdiff
path: root/upb/bindings/googlepb/bridge.cc
diff options
context:
space:
mode:
Diffstat (limited to 'upb/bindings/googlepb/bridge.cc')
-rw-r--r--upb/bindings/googlepb/bridge.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/upb/bindings/googlepb/bridge.cc b/upb/bindings/googlepb/bridge.cc
index 6ae8868..2a2bbbf 100644
--- a/upb/bindings/googlepb/bridge.cc
+++ b/upb/bindings/googlepb/bridge.cc
@@ -246,7 +246,8 @@ const Handlers* CodeCache::GetMaybeUnfrozenWriteHandlers(
to_freeze_.push_back(h);
const goog::Descriptor* d = m.GetDescriptor();
- for (upb::MessageDef::const_iterator i = md->begin(); i != md->end(); ++i) {
+ for (upb::MessageDef::const_field_iterator i = md->field_begin();
+ i != md->field_end(); ++i) {
const FieldDef* upb_f = *i;
const goog::FieldDescriptor* proto2_f =
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback