File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
58
58
// / describe what change you made. The content of this comment isn't important;
59
59
// / it just ensures a conflict if two people change the module format.
60
60
// / Don't worry about adhering to the 80-column limit for this line.
61
- const uint16_t SWIFTMODULE_VERSION_MINOR = 874 ; // SDKVersion
61
+ const uint16_t SWIFTMODULE_VERSION_MINOR = 875 ; // Reorder control block enum
62
62
63
63
// / A standard hash seed used for all string hashes in a serialized module.
64
64
// /
@@ -863,9 +863,9 @@ namespace control_block {
863
863
SDK_NAME,
864
864
SDK_VERSION,
865
865
REVISION,
866
- CHANNEL,
867
866
IS_OSSA,
868
867
ALLOWABLE_CLIENT_NAME,
868
+ CHANNEL,
869
869
};
870
870
871
871
using MetadataLayout = BCRecordLayout<
@@ -906,11 +906,6 @@ namespace control_block {
906
906
BCBlob
907
907
>;
908
908
909
- using ChannelLayout = BCRecordLayout<
910
- CHANNEL,
911
- BCBlob
912
- >;
913
-
914
909
using IsOSSALayout = BCRecordLayout<
915
910
IS_OSSA,
916
911
BCFixed<1 >
@@ -920,6 +915,11 @@ namespace control_block {
920
915
ALLOWABLE_CLIENT_NAME,
921
916
BCBlob
922
917
>;
918
+
919
+ using ChannelLayout = BCRecordLayout<
920
+ CHANNEL,
921
+ BCBlob
922
+ >;
923
923
}
924
924
925
925
// / The record types within the options block (a sub-block of the control
Original file line number Diff line number Diff line change @@ -836,9 +836,9 @@ void Serializer::writeBlockInfoBlock() {
836
836
BLOCK_RECORD (control_block, SDK_NAME);
837
837
BLOCK_RECORD (control_block, SDK_VERSION);
838
838
BLOCK_RECORD (control_block, REVISION);
839
- BLOCK_RECORD (control_block, CHANNEL);
840
839
BLOCK_RECORD (control_block, IS_OSSA);
841
840
BLOCK_RECORD (control_block, ALLOWABLE_CLIENT_NAME);
841
+ BLOCK_RECORD (control_block, CHANNEL);
842
842
843
843
BLOCK (OPTIONS_BLOCK);
844
844
BLOCK_RECORD (options_block, SDK_PATH);
You can’t perform that action at this time.
0 commit comments