mirror of
https://github.com/apple/foundationdb.git
synced 2026-01-25 12:28:19 +00:00
15 lines
345 B
Swift
15 lines
345 B
Swift
import Flow
|
|
import FDBServer
|
|
|
|
extension Flow.UID: Hashable {
|
|
public func hash(into hasher: inout Swift.Hasher) {
|
|
self.first().hash(into: &hasher)
|
|
self.second().hash(into: &hasher)
|
|
}
|
|
|
|
public static func ==(lhs: UID, rhs: UID) -> Swift.Bool {
|
|
lhs.first() == rhs.first() && lhs.second() == rhs.second()
|
|
}
|
|
}
|
|
|