diff --git a/Source/Constraint.swift b/Source/Constraint.swift index 982b413..5455932 100644 --- a/Source/Constraint.swift +++ b/Source/Constraint.swift @@ -207,18 +207,18 @@ public class Constraint { } } -extension Constraint: Hashable { - - public var hashValue: Int { - return self.layoutConstraints.hashValue - } - -} - -public func ==(lhs: Constraint, rhs: Constraint) -> Bool { - return (lhs.from == rhs.from && - lhs.to == rhs.to && - lhs.relation == rhs.relation && - lhs.multiplier.constraintMultiplierTargetValue == rhs.multiplier.constraintMultiplierTargetValue && - lhs.priority.constraintPriorityTargetValue == rhs.priority.constraintPriorityTargetValue) -} +//extension Constraint: Hashable { +// +// public var hashValue: Int { +// return self.layoutConstraints.hashValue +// } +// +//} +// +//public func ==(lhs: Constraint, rhs: Constraint) -> Bool { +// return (lhs.from == rhs.from && +// lhs.to == rhs.to && +// lhs.relation == rhs.relation && +// lhs.multiplier.constraintMultiplierTargetValue == rhs.multiplier.constraintMultiplierTargetValue && +// lhs.priority.constraintPriorityTargetValue == rhs.priority.constraintPriorityTargetValue) +//}