Skip to content

Commit 01d7f8f

Browse files
authored
Merge pull request swiftlang#607 from itaiferber/master
Eliminate unnecessary Foundation lock typealiases
2 parents 17bf45a + 5a462c6 commit 01d7f8f

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Sources/Basic/Condition.swift

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010

1111
import Foundation
1212

13-
// FIXME: Temporary compatibility shims.
14-
#if !os(macOS)
15-
private typealias NSCondition = Foundation.Condition
16-
#endif
17-
1813
/// A simple condition wrapper.
1914
public struct Condition {
2015
private let _condition = NSCondition()

Sources/Basic/Lock.swift

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010

1111
import Foundation
1212

13-
// FIXME: Temporary compatibility shims.
14-
#if !os(macOS)
15-
private typealias NSLock = Foundation.Lock
16-
#endif
17-
1813
/// A simple lock wrapper.
1914
public struct Lock {
2015
private var _lock = NSLock()

0 commit comments

Comments
 (0)