From 20d22a92fe00ad2ccc00d407eaeccf009b1c549c Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Wed, 10 May 2023 15:02:23 -0700 Subject: [PATCH] Automated rollback of commit 64cf6ff6e08471707a7e0673ab9b5d244972d4e6. PiperOrigin-RevId: 531014508 --- src/google/protobuf/compiler/cpp/parse_function_generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/protobuf/compiler/cpp/parse_function_generator.cc b/src/google/protobuf/compiler/cpp/parse_function_generator.cc index c9dcbe11f0..a0773f0bac 100644 --- a/src/google/protobuf/compiler/cpp/parse_function_generator.cc +++ b/src/google/protobuf/compiler/cpp/parse_function_generator.cc @@ -264,7 +264,7 @@ void ParseFunctionGenerator::GenerateDataDecls(io::Printer* printer) { auto field_num_to_entry_table = MakeNumToEntryTable(ordered_fields_); format( "friend class ::$proto_ns$::internal::TcParser;\n" - "PROTOBUF_EXPORT static const ::$proto_ns$::internal::" + "static const ::$proto_ns$::internal::" "TcParseTable<$1$, $2$, $3$, $4$, $5$> _table_;\n", tc_table_info_->table_size_log2, ordered_fields_.size(), tc_table_info_->aux_entries.size(), @@ -406,7 +406,7 @@ void ParseFunctionGenerator::GenerateTailCallTable(Formatter& format) { // unknown fields and potentially an extension range. auto field_num_to_entry_table = MakeNumToEntryTable(ordered_fields_); format( - "PROTOBUF_EXPORT constexpr ::_pbi::TcParseTable<$1$, $2$, $3$, $4$, $5$> " + "constexpr ::_pbi::TcParseTable<$1$, $2$, $3$, $4$, $5$> " "$classname$::_table_ = " "{\n", tc_table_info_->table_size_log2, ordered_fields_.size(),