mirror of
https://github.com/SagerNet/sing-box-for-apple.git
synced 2026-06-03 11:37:44 +00:00
12 lines
231 B
Swift
12 lines
231 B
Swift
import Foundation
|
|
|
|
extension Profile: Hashable {
|
|
public static func == (lhs: Profile, rhs: Profile) -> Bool {
|
|
lhs.id == rhs.id
|
|
}
|
|
|
|
public func hash(into hasher: inout Hasher) {
|
|
hasher.combine(id)
|
|
}
|
|
}
|