From dd8a77ade833bb4ef0350c89b805594124958d39 Mon Sep 17 00:00:00 2001 From: Angel Olvera Date: Thu, 1 Aug 2024 14:21:05 -0400 Subject: [PATCH] fix for Xcode 16 Tested with Xcode 16-beta 4 --- PSOperations/Operation.swift | 2 +- PSOperations/OperationQueue.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PSOperations/Operation.swift b/PSOperations/Operation.swift index bf400ed..d5321c8 100644 --- a/PSOperations/Operation.swift +++ b/PSOperations/Operation.swift @@ -15,7 +15,7 @@ public typealias PSOperation = Operation extended readiness requirements, as well as notify many interested parties about interesting operation state changes */ -open class Operation: Foundation.Operation { +open class Operation: Foundation.Operation, @unchecked Sendable { private static var psoperationContext = 0 diff --git a/PSOperations/OperationQueue.swift b/PSOperations/OperationQueue.swift index 3cace84..66a8c8d 100644 --- a/PSOperations/OperationQueue.swift +++ b/PSOperations/OperationQueue.swift @@ -33,7 +33,7 @@ public typealias PSOperationQueue = OperationQueue - Extracting generated dependencies from operation conditions - Setting up dependencies to enforce mutual exclusivity */ -open class OperationQueue: Foundation.OperationQueue { +open class OperationQueue: Foundation.OperationQueue, @unchecked Sendable { open weak var delegate: OperationQueueDelegate? override open func addOperation(_ operation: Foundation.Operation) {