Skip to content

Commit 65579e4

Browse files
Internal change
PiperOrigin-RevId: 832102149
1 parent f4a10f6 commit 65579e4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/google/protobuf/parse_context.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,9 @@ const char* EpsCopyInputStream::ReadMicroStringFallback(const char* ptr,
757757
return ptr;
758758
}
759759

760+
template const char* EpsCopyInputStream::NextBuffer<false>(int, int);
761+
template const char* EpsCopyInputStream::NextBuffer<true>(int, int);
762+
760763
template std::pair<const char*, bool> EpsCopyInputStream::DoneFallback<false>(
761764
int, int);
762765
template std::pair<const char*, bool> EpsCopyInputStream::DoneFallback<true>(

src/google/protobuf/parse_context.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,9 @@ template <typename T, typename Validator>
16651665
[[nodiscard]] PROTOBUF_EXPORT const char* UnknownFieldParse(
16661666
uint32_t tag, std::string* unknown, const char* ptr, ParseContext* ctx);
16671667

1668+
extern template const char* EpsCopyInputStream::NextBuffer<false>(int, int);
1669+
extern template const char* EpsCopyInputStream::NextBuffer<true>(int, int);
1670+
16681671
extern template std::pair<const char*, bool>
16691672
EpsCopyInputStream::DoneFallback<false>(int, int);
16701673
extern template std::pair<const char*, bool>

0 commit comments

Comments
 (0)