Skip to content

Commit 941991b

Browse files
authored
Merge pull request swiftlang#80439 from al45tair/eng/PR-148337712
[Concurrency] Use the correct Dispatch clock.
2 parents 2e6d7f7 + 5b5f486 commit 941991b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/DispatchExecutor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ protocol DispatchExecutorProtocol: Executor {
154154

155155
/// An enumeration identifying one of the Dispatch-supported clocks
156156
enum DispatchClockID: CInt {
157-
case suspending = 1
158-
case continuous = 2
157+
case continuous = 1
158+
case suspending = 2
159159
}
160160

161161
@available(SwiftStdlib 6.2, *)

0 commit comments

Comments
 (0)