From de9f4ffe7305cbeff5b3c8fce1825670b7f05bde Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Tue, 4 Feb 2025 08:51:11 -0800 Subject: [PATCH] hpb: rm unused ptr private ctor PiperOrigin-RevId: 723103795 --- hpb/ptr.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hpb/ptr.h b/hpb/ptr.h index 43fd0f6b50282..cafc49d85caa4 100644 --- a/hpb/ptr.h +++ b/hpb/ptr.h @@ -11,9 +11,6 @@ #include #include -class upb_Message; -class upb_Arena; - namespace hpb { template @@ -61,8 +58,6 @@ class Ptr final { #endif private: - Ptr(upb_Message* msg, upb_Arena* arena) : p_(msg, arena) {} // NOLINT - friend class Ptr; friend typename T::Access;