diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-07-18 11:10:02 -0400 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-07-18 11:10:02 -0400 |
commit | 2e98ed5d17e2e9a8cb557cc762883b792bc4a342 (patch) | |
tree | d89dbfcbe91c79ccbfd98ba871fe69fa03f457cb /editors | |
parent | b99577c5ac3f3627f7eb11c866fad887920d1453 (diff) | |
download | protobuf-2e98ed5d17e2e9a8cb557cc762883b792bc4a342.tar.gz protobuf-2e98ed5d17e2e9a8cb557cc762883b792bc4a342.tar.bz2 protobuf-2e98ed5d17e2e9a8cb557cc762883b792bc4a342.zip |
Use public methods to fetch oneofs in generated code.
When building into frameworks, the generated code doesn't always have direct
access to the proto internals. Instead of opening up the access, just use the
public method to fetch the correct oneof.
Fixes https://github.com/google/protobuf/issues/1789
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions