From 6ce6773803a659f9d13278e1b54e66a187b37888 Mon Sep 17 00:00:00 2001 From: Srdan Rasic Date: Sun, 26 Mar 2017 19:25:25 +0200 Subject: [PATCH] Annotate global queue availability correctly. --- Sources/ExecutionContext.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ExecutionContext.swift b/Sources/ExecutionContext.swift index dc4db11..b1b10d7 100644 --- a/Sources/ExecutionContext.swift +++ b/Sources/ExecutionContext.swift @@ -70,6 +70,7 @@ public struct ExecutionContext { } /// Execution context bound to global dispatch queue. + @available(macOS 10.10, *) public static func global(qos: DispatchQoS.QoSClass = .default) -> ExecutionContext { return DispatchQueue.global(qos: qos).context }