From db62a1decd712841b7a0627d119c9791a5877fa3 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 2 Dec 2024 10:17:50 +1100 Subject: [PATCH] remove force-unwrap optional on _send() --- Sources/SwiftOCA/OCC/PropertyTypes/Property.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SwiftOCA/OCC/PropertyTypes/Property.swift b/Sources/SwiftOCA/OCC/PropertyTypes/Property.swift index 11140110..f3f00368 100644 --- a/Sources/SwiftOCA/OCC/PropertyTypes/Property.swift +++ b/Sources/SwiftOCA/OCC/PropertyTypes/Property.swift @@ -160,7 +160,7 @@ public struct OcaProperty: Codable, Sendable, } } - private(set) var _send: (@Sendable (_: OcaRoot?, _: PropertyValue) -> ())! + private(set) var _send: (@Sendable (_: OcaRoot?, _: PropertyValue) -> ()) @_spi(SwiftOCAPrivate) public let subject: AsyncCurrentValueSubject