Internal change.

PiperOrigin-RevId: 560197662
pull/13702/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent aaa2b51491
commit 9e300f18ef
  1. 4
      src/google/protobuf/parse_context.h

@ -429,8 +429,8 @@ class PROTOBUF_EXPORT EpsCopyInputStream {
// AppendUntilEnd appends data until a limit (either a PushLimit or end of
// stream. Normal payloads are from length delimited fields which have an
// explicit size. Reading until limit only comes when the string takes
// the place of a protobuf, ie RawMessage/StringRawMessage, lazy fields and
// implicit weak messages. We keep these methods private and friend them.
// the place of a protobuf, ie RawMessage, lazy fields and implicit weak
// messages. We keep these methods private and friend them.
template <typename A>
const char* AppendUntilEnd(const char* ptr, const A& append) {
if (ptr - buffer_end_ > limit_) return nullptr;

Loading…
Cancel
Save