Skip to content

Commit

Permalink
hpb: rm unused ptr private ctor
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 723103795
  • Loading branch information
honglooker authored and copybara-github committed Feb 4, 2025
1 parent 3a72a1d commit de9f4ff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hpb/ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
#include <memory>
#include <type_traits>

class upb_Message;
class upb_Arena;

namespace hpb {

template <typename T>
Expand Down Expand Up @@ -61,8 +58,6 @@ class Ptr final {
#endif

private:
Ptr(upb_Message* msg, upb_Arena* arena) : p_(msg, arena) {} // NOLINT

friend class Ptr<const T>;
friend typename T::Access;

Expand Down

0 comments on commit de9f4ff

Please sign in to comment.