Skip to content

Commit 3866535

Browse files
committed
[stdlib] Add '@_frozen' to overlay enums that need it
That's just ARCamera.TrackingState and DispatchTimeoutResult. Verified with the framework owners at Apple.
1 parent 05293f2 commit 3866535

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stdlib/public/SDK/ARKit/ARKit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ extension ARCamera {
1717
/**
1818
A value describing the camera's tracking state.
1919
*/
20+
@_frozen
2021
public enum TrackingState {
2122
public enum Reason {
2223
/** Tracking is limited due to initialization in progress. */

stdlib/public/SDK/Dispatch/Dispatch.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public struct DispatchQoS : Equatable {
121121
}
122122

123123
///
124-
124+
@_frozen
125125
public enum DispatchTimeoutResult {
126126
case success
127127
case timedOut

0 commit comments

Comments
 (0)