From 2488265012ca0f3b59f114d121352c49e87d6af7 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 20 Apr 2024 15:22:57 -0700 Subject: [PATCH] Fix some concurrency warnings. --- Account/Sources/Account/Folder.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Account/Sources/Account/Folder.swift b/Account/Sources/Account/Folder.swift index 8f185ec69..dcb1a7ead 100644 --- a/Account/Sources/Account/Folder.swift +++ b/Account/Sources/Account/Folder.swift @@ -133,13 +133,13 @@ import Core // MARK: - Hashable - public func hash(into hasher: inout Hasher) { + nonisolated public func hash(into hasher: inout Hasher) { hasher.combine(folderID) } // MARK: - Equatable - static public func ==(lhs: Folder, rhs: Folder) -> Bool { + nonisolated static public func ==(lhs: Folder, rhs: Folder) -> Bool { return lhs === rhs } }