mirror of https://github.com/SnapKit/SnapKit
Remove unused code
This commit is contained in:
parent
bd6643ff54
commit
a772f08051
|
@ -207,18 +207,18 @@ public class Constraint {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension Constraint: Hashable {
|
//extension Constraint: Hashable {
|
||||||
|
//
|
||||||
public var hashValue: Int {
|
// public var hashValue: Int {
|
||||||
return self.layoutConstraints.hashValue
|
// return self.layoutConstraints.hashValue
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
public func ==(lhs: Constraint, rhs: Constraint) -> Bool {
|
//public func ==(lhs: Constraint, rhs: Constraint) -> Bool {
|
||||||
return (lhs.from == rhs.from &&
|
// return (lhs.from == rhs.from &&
|
||||||
lhs.to == rhs.to &&
|
// lhs.to == rhs.to &&
|
||||||
lhs.relation == rhs.relation &&
|
// lhs.relation == rhs.relation &&
|
||||||
lhs.multiplier.constraintMultiplierTargetValue == rhs.multiplier.constraintMultiplierTargetValue &&
|
// lhs.multiplier.constraintMultiplierTargetValue == rhs.multiplier.constraintMultiplierTargetValue &&
|
||||||
lhs.priority.constraintPriorityTargetValue == rhs.priority.constraintPriorityTargetValue)
|
// lhs.priority.constraintPriorityTargetValue == rhs.priority.constraintPriorityTargetValue)
|
||||||
}
|
//}
|
||||||
|
|
Loading…
Reference in New Issue