summaryrefslogtreecommitdiff
path: root/upb/bindings/googlepb/proto2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'upb/bindings/googlepb/proto2.cc')
-rw-r--r--upb/bindings/googlepb/proto2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/upb/bindings/googlepb/proto2.cc b/upb/bindings/googlepb/proto2.cc
index 87c13b6..636bb90 100644
--- a/upb/bindings/googlepb/proto2.cc
+++ b/upb/bindings/googlepb/proto2.cc
@@ -449,12 +449,13 @@ case goog::FieldDescriptor::cpptype: \
enum OneofType {
ONEOF_TYPE_NONE,
ONEOF_TYPE_STRING,
- ONEOF_TYPE_MESSAGE,
+ ONEOF_TYPE_MESSAGE
#ifdef UPB_GOOGLE3
+ ,
ONEOF_TYPE_GLOBALSTRING,
ONEOF_TYPE_CORD,
ONEOF_TYPE_STRINGPIECE,
- ONEOF_TYPE_LAZYFIELD,
+ ONEOF_TYPE_LAZYFIELD
#endif
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback