From 6d0ef0e251b29fbbcb07ecef3ee5ca543bccdc35 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Mon, 22 Jun 2026 22:27:33 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 936435913 --- hpb_generator/context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hpb_generator/context.h b/hpb_generator/context.h index 14222060f4..d5e7c2d35e 100644 --- a/hpb_generator/context.h +++ b/hpb_generator/context.h @@ -75,12 +75,12 @@ class Context final { const Options& options() { return options_; } io::Printer& printer() { return printer_; } - inline std::string GetLayoutIndex(const FieldDescriptor* field) { + std::string GetLayoutIndex(const FieldDescriptor* field) { return absl::StrCat( upb::generator::FindBaseFieldDef(pool_, field).layout_index()); } - inline int GetLayoutSize(const Descriptor* descriptor) { + int GetLayoutSize(const Descriptor* descriptor) { return upb::generator::FindMessageDef(pool_, descriptor) .mini_table() ->UPB_PRIVATE(size); @@ -92,7 +92,7 @@ class Context final { Context& operator=(Context&&) = delete; private: - inline void BuildDefPool(const FileDescriptor* file) { + void BuildDefPool(const FileDescriptor* file) { upb::generator::AddFile(file, &pool_); }