We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0938f48 commit 90da6a6Copy full SHA for 90da6a6
Sources/OpenGraph/Runtime/CompareValues.swift
@@ -22,7 +22,7 @@ public func compareValues<Value>(_ lhs: Value, _ rhs: Value, mode: OGComparisonM
22
public func compareValues<Value>(_ lhs: Value, _ rhs: Value, options: OGComparisonOptions) -> Bool {
23
withUnsafePointer(to: lhs) { p1 in
24
withUnsafePointer(to: rhs) { p2 in
25
- OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: options)
+ OGCompareValues(lhs: p1, rhs: p2, type: Value.self, options: .init(rawValue: options.rawValue | 0x100))
26
}
27
28
0 commit comments