Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions src/google/protobuf/port_def.inc
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3),

#endif

// Introducing a future-breaking change guard for descriptor database migration.
// This allows google3 to transition to absl::string_view while keeping OSS
// on std::string until the migration is fully completed.
// The temporary macro enables incremental migration before permanently flipping
// the switch.
#ifdef PROTOBUF_FUTURE_STRING_VIEW_DESCRIPTOR_DATABASE
#error PROTOBUF_FUTURE_STRING_VIEW_DESCRIPTOR_DATABASE was previously defined
#endif

#if defined(PROTOBUF_TEMPORARY_ENABLE_STRING_VIEW_DESCRIPTOR_DATABASE)
#define PROTOBUF_FUTURE_STRING_VIEW_DESCRIPTOR_DATABASE 1
#endif

#ifdef PROTOBUF_ALWAYS_INLINE
#error PROTOBUF_ALWAYS_INLINE was previously defined
Expand Down
Loading