Skip to content

Commit

Permalink
Regenerate oneof example.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Aug 1, 2020
1 parent 86b49dc commit 68c5257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/oneof/generated/oneof.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ void oneof_foo_bar_encode(
switch (self_p->choice) {

case oneof_foo_bar_choice_fie_e:
pbtools_encoder_write_int32(
pbtools_encoder_write_int32_always(
encoder_p,
1,
self_p->value.fie);
break;

case oneof_foo_bar_choice_fum_e:
pbtools_encoder_write_bool(
pbtools_encoder_write_bool_always(
encoder_p,
2,
self_p->value.fum);
Expand Down

0 comments on commit 68c5257

Please sign in to comment.