Skip to content

Commit 5b12bc8

Browse files
mkruskal-googlecopybara-github
authored andcommitted
Breaking change: Promote ExtensionRange to a proper class
PiperOrigin-RevId: 589938315
1 parent 229906f commit 5b12bc8

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

src/google/protobuf/descriptor.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,7 @@ class PROTOBUF_EXPORT Descriptor : private internal::SymbolBase {
497497
// Never nullptr.
498498
const Descriptor* containing_type() const { return containing_type_; }
499499

500-
#ifdef PROTOBUF_FUTURE_EXTENSION_RANGE_CLASS
501-
502500
private:
503-
#endif
504501
int start_;
505502
int end_;
506503
const ExtensionRangeOptions* options_;

src/google/protobuf/port_def.inc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
167167
// Owner: ezb@
168168
#define PROTOBUF_FUTURE_REMOVE_CONST_REPEATEDFIELD_GETARENA_API 1
169169

170-
// Used to make ExtensionRange into a fully-fledged descriptor class.
171-
// Owner: mkruskal@
172-
#define PROTOBUF_FUTURE_EXTENSION_RANGE_CLASS 1
173-
174170
// Used to lock down wrong ctype usages in proto file.
175171
// Owner: jieluo@
176172
#define PROTOBUF_FUTURE_REMOVE_WRONG_CTYPE 1

0 commit comments

Comments
 (0)