@@ -92,11 +92,11 @@ using Encoding = std::variant<
9292// clang-format on
9393struct BOUNDED_MULTIPLE_8BITS_ENUM_FIXED {
9494 // / The inclusive minimum value
95- const std::int64_t minimum;
95+ std::int64_t minimum;
9696 // / The inclusive maximum value
97- const std::int64_t maximum;
97+ std::int64_t maximum;
9898 // / The multiplier value
99- const std::uint64_t multiplier;
99+ std::uint64_t multiplier;
100100};
101101
102102// clang-format off
@@ -133,9 +133,9 @@ struct BOUNDED_MULTIPLE_8BITS_ENUM_FIXED {
133133// clang-format on
134134struct FLOOR_MULTIPLE_ENUM_VARINT {
135135 // / The inclusive minimum value
136- const std::int64_t minimum;
136+ std::int64_t minimum;
137137 // / The multiplier value
138- const std::uint64_t multiplier;
138+ std::uint64_t multiplier;
139139};
140140
141141// clang-format off
@@ -171,9 +171,9 @@ struct FLOOR_MULTIPLE_ENUM_VARINT {
171171// clang-format on
172172struct ROOF_MULTIPLE_MIRROR_ENUM_VARINT {
173173 // / The inclusive maximum value
174- const std::int64_t maximum;
174+ std::int64_t maximum;
175175 // / The multiplier value
176- const std::uint64_t multiplier;
176+ std::uint64_t multiplier;
177177};
178178
179179// clang-format off
@@ -206,7 +206,7 @@ struct ROOF_MULTIPLE_MIRROR_ENUM_VARINT {
206206// clang-format on
207207struct ARBITRARY_MULTIPLE_ZIGZAG_VARINT {
208208 // / The multiplier value
209- const std::uint64_t multiplier;
209+ std::uint64_t multiplier;
210210};
211211
212212// / @}
@@ -302,7 +302,7 @@ struct DOUBLE_VARINT_TUPLE {};
302302// clang-format on
303303struct BYTE_CHOICE_INDEX {
304304 // / The set of choice values
305- const std::vector<sourcemeta::core::JSON> choices;
305+ std::vector<sourcemeta::core::JSON> choices;
306306};
307307
308308// clang-format off
@@ -336,7 +336,7 @@ struct BYTE_CHOICE_INDEX {
336336// clang-format on
337337struct LARGE_CHOICE_INDEX {
338338 // / The set of choice values
339- const std::vector<sourcemeta::core::JSON> choices;
339+ std::vector<sourcemeta::core::JSON> choices;
340340};
341341
342342// clang-format off
@@ -375,7 +375,7 @@ struct LARGE_CHOICE_INDEX {
375375// clang-format on
376376struct TOP_LEVEL_BYTE_CHOICE_INDEX {
377377 // / The set of choice values
378- const std::vector<sourcemeta::core::JSON> choices;
378+ std::vector<sourcemeta::core::JSON> choices;
379379};
380380
381381// clang-format off
@@ -397,7 +397,7 @@ struct TOP_LEVEL_BYTE_CHOICE_INDEX {
397397// clang-format on
398398struct CONST_NONE {
399399 // / The constant value
400- const sourcemeta::core::JSON value;
400+ sourcemeta::core::JSON value;
401401};
402402
403403// TODO: Write brief description
@@ -490,7 +490,7 @@ static_assert(SUBTYPE_LONG_STRING_BASE_EXPONENT_10 == 10);
490490// clang-format on
491491struct UTF8_STRING_NO_LENGTH {
492492 // / The string UTF-8 byte-length
493- const std::uint64_t size;
493+ std::uint64_t size;
494494};
495495
496496// clang-format off
@@ -544,7 +544,7 @@ struct UTF8_STRING_NO_LENGTH {
544544// clang-format on
545545struct FLOOR_VARINT_PREFIX_UTF8_STRING_SHARED {
546546 // / The inclusive minimum string UTF-8 byte-length
547- const std::uint64_t minimum;
547+ std::uint64_t minimum;
548548};
549549
550550// clang-format off
@@ -598,7 +598,7 @@ struct FLOOR_VARINT_PREFIX_UTF8_STRING_SHARED {
598598// clang-format on
599599struct ROOF_VARINT_PREFIX_UTF8_STRING_SHARED {
600600 // / The inclusive maximum string UTF-8 byte-length
601- const std::uint64_t maximum;
601+ std::uint64_t maximum;
602602};
603603
604604// clang-format off
@@ -658,9 +658,9 @@ struct ROOF_VARINT_PREFIX_UTF8_STRING_SHARED {
658658// clang-format on
659659struct BOUNDED_8BIT_PREFIX_UTF8_STRING_SHARED {
660660 // / The inclusive minimum string UTF-8 byte-length
661- const std::uint64_t minimum;
661+ std::uint64_t minimum;
662662 // / The inclusive maximum string UTF-8 byte-length
663- const std::uint64_t maximum;
663+ std::uint64_t maximum;
664664};
665665
666666// clang-format off
@@ -789,11 +789,11 @@ struct PREFIX_VARINT_LENGTH_STRING_SHARED {};
789789// clang-format on
790790struct FIXED_TYPED_ARRAY {
791791 // / The array length
792- const std::uint64_t size;
792+ std::uint64_t size;
793793 // / Element encoding
794- const std::shared_ptr<Encoding> encoding;
794+ std::shared_ptr<Encoding> encoding;
795795 // / Positional encodings
796- const std::vector<Encoding> prefix_encodings;
796+ std::vector<Encoding> prefix_encodings;
797797};
798798
799799// clang-format off
@@ -838,13 +838,13 @@ struct FIXED_TYPED_ARRAY {
838838// clang-format on
839839struct BOUNDED_8BITS_TYPED_ARRAY {
840840 // / The minimum length of the array
841- const std::uint64_t minimum;
841+ std::uint64_t minimum;
842842 // / The maximum length of the array
843- const std::uint64_t maximum;
843+ std::uint64_t maximum;
844844 // / Element encoding
845- const std::shared_ptr<Encoding> encoding;
845+ std::shared_ptr<Encoding> encoding;
846846 // / Positional encodings
847- const std::vector<Encoding> prefix_encodings;
847+ std::vector<Encoding> prefix_encodings;
848848};
849849
850850// clang-format off
@@ -886,11 +886,11 @@ struct BOUNDED_8BITS_TYPED_ARRAY {
886886// clang-format on
887887struct FLOOR_TYPED_ARRAY {
888888 // / The minimum length of the array
889- const std::uint64_t minimum;
889+ std::uint64_t minimum;
890890 // / Element encoding
891- const std::shared_ptr<Encoding> encoding;
891+ std::shared_ptr<Encoding> encoding;
892892 // / Positional encodings
893- const std::vector<Encoding> prefix_encodings;
893+ std::vector<Encoding> prefix_encodings;
894894};
895895
896896// clang-format off
@@ -931,11 +931,11 @@ struct FLOOR_TYPED_ARRAY {
931931// clang-format on
932932struct ROOF_TYPED_ARRAY {
933933 // / The maximum length of the array
934- const std::uint64_t maximum;
934+ std::uint64_t maximum;
935935 // / Element encoding
936- const std::shared_ptr<Encoding> encoding;
936+ std::shared_ptr<Encoding> encoding;
937937 // / Positional encodings
938- const std::vector<Encoding> prefix_encodings;
938+ std::vector<Encoding> prefix_encodings;
939939};
940940
941941// / @}
@@ -988,11 +988,11 @@ struct ROOF_TYPED_ARRAY {
988988// clang-format on
989989struct FIXED_TYPED_ARBITRARY_OBJECT {
990990 // / The object size
991- const std::uint64_t size;
991+ std::uint64_t size;
992992 // / Key encoding
993- const std::shared_ptr<Encoding> key_encoding;
993+ std::shared_ptr<Encoding> key_encoding;
994994 // / Value encoding
995- const std::shared_ptr<Encoding> encoding;
995+ std::shared_ptr<Encoding> encoding;
996996};
997997
998998// clang-format off
@@ -1034,9 +1034,9 @@ struct FIXED_TYPED_ARBITRARY_OBJECT {
10341034// clang-format on
10351035struct VARINT_TYPED_ARBITRARY_OBJECT {
10361036 // / Key encoding
1037- const std::shared_ptr<Encoding> key_encoding;
1037+ std::shared_ptr<Encoding> key_encoding;
10381038 // / Value encoding
1039- const std::shared_ptr<Encoding> encoding;
1039+ std::shared_ptr<Encoding> encoding;
10401040};
10411041
10421042// / @}
0 commit comments