Skip to content

Commit

Permalink
hpb: Serialize - Remove unused options parameter
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 715771614
  • Loading branch information
honglooker authored and copybara-github committed Jan 15, 2025
1 parent bae06da commit d054e53
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hpb/hpb.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,10 @@ absl::StatusOr<T> Parse(absl::string_view bytes,

template <typename T>
absl::StatusOr<absl::string_view> Serialize(internal::PtrOrRaw<T> message,
hpb::Arena& arena,
int options = 0) {
hpb::Arena& arena) {
return ::hpb::internal::Serialize(hpb::interop::upb::GetMessage(message),
::hpb::interop::upb::GetMiniTable(message),
arena.ptr(), options);
arena.ptr(), 0);
}

} // namespace hpb
Expand Down

0 comments on commit d054e53

Please sign in to comment.