Skip to content

Commit

Permalink
Merge pull request #35 from StarryInternet/xcode-16-warnings
Browse files Browse the repository at this point in the history
fix sendable warnings in xcode 16
  • Loading branch information
klundberg authored Jul 13, 2024
2 parents 72b672e + cfd808c commit 7483637
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.6
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -19,7 +19,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", "0.1.0"..<"2.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,5 @@ public struct CentralManager: Sendable {
}

@objc(CCBCentralManagerRestorableDelegate)
class RestorableDelegate: Delegate {
}
class RestorableDelegate: Delegate, @unchecked Sendable {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,5 @@ extension PeripheralManager {
}

@objc(CCBPeripheralManagerRestorableDelegate)
class RestorableDelegate: Delegate {

}
class RestorableDelegate: Delegate, @unchecked Sendable {}
}

0 comments on commit 7483637

Please sign in to comment.