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 af44db3 commit 4fc9039Copy full SHA for 4fc9039
Sources/CodableDatastore/Indexes/UUID+Comparable.swift
@@ -8,6 +8,7 @@
8
9
import Foundation
10
11
+#if swift(<5.9) || !os(xrOS)
12
/// Make UUIDs comparable, so that they can be used transparently as an index.
13
///
14
/// - SeeAlso: https://github.com/apple/swift-foundation/blob/5388acf1d929865d4df97d3c50e4d08bc4c6bdf0/Sources/FoundationEssentials/UUID.swift#L135-L156
@@ -35,3 +36,4 @@ extension UUID: Comparable {
35
36
return result < 0
37
}
38
39
+#endif
0 commit comments