remove Hashable CGSize
This commit is contained in:
@@ -107,12 +107,8 @@ private extension CGAffineTransform {
|
|||||||
return transform
|
return transform
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
extension CGSize: Hashable {
|
extension CGSize {
|
||||||
public func hash(into hasher: inout Hasher) {
|
fileprivate var integral: CGSize {
|
||||||
hasher.combine(width)
|
|
||||||
hasher.combine(height)
|
|
||||||
}
|
|
||||||
var integral: CGSize {
|
|
||||||
CGSize(width: ceil(width), height: ceil(height))
|
CGSize(width: ceil(width), height: ceil(height))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user