Skip to content

Commit

Permalink
Internal Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 513821856
  • Loading branch information
mkruskal-google authored and copybara-github committed Mar 3, 2023
1 parent dcb2155 commit a54ae5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/generated_message_reflection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/google/protobuf/message.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 4 additions & 0 deletions src/google/protobuf/port_def.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a54ae5e

Please sign in to comment.