Skip to content

Commit

Permalink
hpb: rm unused ctor
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 662149022
  • Loading branch information
honglooker authored and copybara-github committed Aug 12, 2024
1 parent fda2669 commit 6739739
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hpb/hpb.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ auto* GetInternalMsg(T&& message) {
return PrivateAccess::GetInternalMsg(std::forward<T>(message));
}

template <typename T>
T CreateMessage() {
return T();
}

template <typename T>
typename T::Proxy CreateMessageProxy(upb_Message* msg, upb_Arena* arena) {
return typename T::Proxy(msg, arena);
Expand Down

0 comments on commit 6739739

Please sign in to comment.