Fix some concurrency warnings.
This commit is contained in:
parent
55e3e20be1
commit
2488265012
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue