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 23ffb2a commit 9f353ccCopy full SHA for 9f353cc
Sources/Overlays/_Testing_WinSDK/Support/Additions/GUIDAdditions.swift
@@ -18,18 +18,18 @@ public import WinSDK
18
@_spi(_)
19
extension GUID: @retroactive Equatable, @retroactive Hashable {
20
/// This GUID as an integer.
21
- var uint128Value: UInt128 {
+ private var _uint128Value: UInt128 {
22
withUnsafeBytes(of: self) { buffer in
23
buffer.baseAddress!.loadUnaligned(as: UInt128.self)
24
}
25
26
27
public static func ==(lhs: Self, rhs: Self) -> Bool {
28
- lhs.uint128Value == rhs.uint128Value
+ lhs._uint128Value == rhs._uint128Value
29
30
31
public func hash(into hasher: inout Hasher) {
32
- hasher.combine(uint128Value)
+ hasher.combine(_uint128Value)
33
34
35
#endif
0 commit comments