Internal Change

PiperOrigin-RevId: 513821856
pull/12075/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent dcb21556cc
commit a54ae5ea9a
  1. 1
      src/google/protobuf/generated_message_reflection.cc
  2. 1
      src/google/protobuf/message.h
  3. 4
      src/google/protobuf/port_def.inc

@ -1760,6 +1760,7 @@ const std::string& Reflection::GetStringReference(const Message& message,
}
void Reflection::SetString(Message* message, const FieldDescriptor* field,
std::string value) const {
USAGE_CHECK_ALL(SetString, SINGULAR, STRING);

@ -630,6 +630,7 @@ class PROTOBUF_EXPORT Reflection final {
std::string* scratch) const;
// Singular field mutators -----------------------------------------
// These mutate the value of a non-repeated field.

@ -213,6 +213,10 @@ static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and
// Owner: shaod@, gberg@
#define PROTOBUF_FUTURE_DESCRIPTOR_EXTENSION_DECL 1
// Enable cord handling.
// Owner: mvels@, mkruskal@
#define PROTOBUF_FUTURE_OPENSOURCE_CORD 1
#endif
#ifdef PROTOBUF_VERSION

Loading…
Cancel
Save