From ffb54241fe85de393c5673bf625118f9db093c73 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Tue, 27 Sep 2022 13:30:05 -0700 Subject: [PATCH] Fix absl usage --- src/google/protobuf/compiler/java/java_message_builder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/protobuf/compiler/java/java_message_builder.cc b/src/google/protobuf/compiler/java/java_message_builder.cc index 5283fc405a60..ec004b55a177 100644 --- a/src/google/protobuf/compiler/java/java_message_builder.cc +++ b/src/google/protobuf/compiler/java/java_message_builder.cc @@ -673,7 +673,7 @@ void MessageBuilderGenerator::GenerateBuilderFieldParsingCase( io::Printer* printer, const FieldDescriptor* field) { uint32_t tag = WireFormatLite::MakeTag( field->number(), WireFormat::WireTypeForFieldType(field->type())); - std::string tagString = absl::StrCat(static_cast(tag)); + std::string tagString = StrCat(static_cast(tag)); printer->Print("case $tag$: {\n", "tag", tagString); printer->Indent(); @@ -692,7 +692,7 @@ void MessageBuilderGenerator::GenerateBuilderPackedFieldParsingCase( // packed version of this field regardless of field->options().packed(). uint32_t tag = WireFormatLite::MakeTag( field->number(), WireFormatLite::WIRETYPE_LENGTH_DELIMITED); - std::string tagString = absl::StrCat(static_cast(tag)); + std::string tagString = StrCat(static_cast(tag)); printer->Print("case $tag$: {\n", "tag", tagString); printer->Indent();