mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix concurrency warning for OSLog.
This commit is contained in:
@@ -15,7 +15,10 @@ public extension Notification.Name {
|
||||
|
||||
public struct AccountSyncError {
|
||||
|
||||
private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
// OSLog is supposedly Sendable and will be annotated that way in the future:
|
||||
// https://forums.developer.apple.com/forums/thread/747816
|
||||
nonisolated(unsafe) private static let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Application")
|
||||
|
||||
public let account: Account
|
||||
public let error: Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user