Skip to content

Commit

Permalink
fix: hashable of SafeDecodingArray could not becompared correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
makinosp committed Aug 3, 2024
1 parent 7c65820 commit 05c2969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VRCKit/Utils/SafeDecodingArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ extension SafeDecodingArray: Codable {

extension SafeDecodingArray: Hashable {
public static func == (lhs: SafeDecodingArray<Element>, rhs: SafeDecodingArray<Element>) -> Bool {
lhs == rhs
lhs.elements.hashValue == rhs.elements.hashValue
}
}

0 comments on commit 05c2969

Please sign in to comment.