Skip to content

Commit f81621f

Browse files
committed
Fix AutoreleasingUnsafeMutablePointer conformance
1 parent 91ea115 commit f81621f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/BridgeObjectiveC.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@ extension UnsafeRawPointer {
589589
}
590590
}
591591

592+
extension AutoreleasingUnsafeMutablePointer: ConcurrentValue { }
593+
592594
internal struct _CocoaFastEnumerationStackBuf {
593595
// Clang uses 16 pointers. So do we.
594596
internal var _item0: UnsafeRawPointer?
@@ -825,5 +827,3 @@ public func _bridgeAnythingToObjectiveC<T>(_ x: T) -> AnyObject {
825827
}
826828

827829
#endif // !_runtime(_ObjC)
828-
829-
extension AutoreleasingUnsafeMutablePointer: ConcurrentValue { }

0 commit comments

Comments
 (0)