From 30d5e0a64ad115b19c4efd68bbe3ea97eeaf9bd8 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Tue, 18 Jul 2023 16:02:32 +0900 Subject: [PATCH] silence warnings on ObjectSnapshot sendability --- Sources/ObjectSnapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ObjectSnapshot.swift b/Sources/ObjectSnapshot.swift index 9063899..c3d0d1e 100644 --- a/Sources/ObjectSnapshot.swift +++ b/Sources/ObjectSnapshot.swift @@ -40,7 +40,7 @@ import AppKit The `ObjectSnapshot` is a full copy of a `DynamicObject`'s properties at a given point in time. This is useful especially when keeping thread-safe state values, in ViewModels for example. Since this is a value type, any changes in this `struct` does not affect the actual object. */ @dynamicMemberLookup -public struct ObjectSnapshot: ObjectRepresentation, Hashable, Sendable { +public struct ObjectSnapshot: ObjectRepresentation, Hashable, @unchecked Sendable { // MARK: Public