Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

Commit 642fc06

Browse files
committed
Updated for Xcode 8
1 parent 9d716b5 commit 642fc06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftFoundation/Data.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
/// - parameter bytes: A pointer to the memory. It will be copied.
7171
/// - parameter count: The number of bytes to copy.
7272
@inline(__always)
73-
public init(bytes pointer: UnsafePointer<Void>, count: Int) {
73+
public init(bytes pointer: UnsafeRawPointer, count: Int) {
7474

7575
_bytes = ContiguousArray<UInt8>(repeating: 0, count: count)
7676

Sources/SwiftFoundation/Lock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151

5252
extension Lock {
53-
private func synchronized<T>(_ closure: @noescape () -> T) -> T {
53+
private func synchronized<T>(_ closure: () -> T) -> T {
5454
self.lock()
5555
defer { self.unlock() }
5656
return closure()

0 commit comments

Comments
 (0)