Skip to content

Commit 05c2969

Browse files
committed
fix: hashable of SafeDecodingArray could not becompared correctly
1 parent 7c65820 commit 05c2969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/VRCKit/Utils/SafeDecodingArray.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ extension SafeDecodingArray: Codable {
2626

2727
extension SafeDecodingArray: Hashable {
2828
public static func == (lhs: SafeDecodingArray<Element>, rhs: SafeDecodingArray<Element>) -> Bool {
29-
lhs == rhs
29+
lhs.elements.hashValue == rhs.elements.hashValue
3030
}
3131
}

0 commit comments

Comments
 (0)