Skip to content

Commit 5c3222c

Browse files
authored
Add Sendable conformance to AtomicInt (#2624)
1 parent 853087c commit 5c3222c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Platform/AtomicInt.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
final class AtomicInt: NSLock {
11+
final class AtomicInt: NSLock, @unchecked Sendable {
1212
fileprivate var value: Int32
1313
public init(_ value: Int32 = 0) {
1414
self.value = value

0 commit comments

Comments
 (0)