mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Remove #if compiler(>=5.5) (#2292)
### Motivation We only support Swift 5.5.2+. ### Modification Remove all `#if swift(>=5.5)` conditional compilation blocks. ### Result less branching
This commit is contained in:
1 parent
788b759d0b
commit
c7b4989b02
48 files changed
+16
-559
No files matched your search
@@ -11,7 +11,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#if compiler(>=5.5.2) && canImport(_Concurrency)
|
||||
|
||||
import Atomics
|
||||
import Dispatch
|
||||
import _NIODataStructures
|
||||
@@ -375,5 +375,3 @@ private class PromiseCreationStore {
|
||||
precondition(self.promiseCreationStore.isEmpty, "NIOAsyncTestingEventLoop freed with uncompleted promises!")
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user