From a682f90afffea2ae1a8fd4376961088c828dd292 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Tue, 31 Jan 2023 16:44:33 +0900 Subject: [PATCH] mask ObjectSnapshot as Sendable --- Sources/ObjectSnapshot.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ObjectSnapshot.swift b/Sources/ObjectSnapshot.swift index 3f39a18..9063899 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 { +public struct ObjectSnapshot: ObjectRepresentation, Hashable, Sendable { // MARK: Public