We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4b672b + f4f57c7 commit fc504b4Copy full SHA for fc504b4
Foundation/NSURLSession/NSURLSession.swift
@@ -191,7 +191,7 @@ open class URLSession : NSObject {
191
internal let taskRegistry = URLSession._TaskRegistry()
192
fileprivate let identifier: Int32
193
fileprivate var invalidated = false
194
- fileprivate static let registerProtocols = {
+ fileprivate static let registerProtocols: () = {
195
// TODO: We register all the native protocols here.
196
let _ = URLProtocol.registerClass(_HTTPURLProtocol.self)
197
}()
0 commit comments