diff --git a/Source/ConstraintAttributes.swift b/Source/ConstraintAttributes.swift index a16a04e..06b3dec 100644 --- a/Source/ConstraintAttributes.swift +++ b/Source/ConstraintAttributes.swift @@ -157,10 +157,10 @@ internal struct ConstraintAttributes: OptionSetType, BooleanType { } } internal func +=(inout left: ConstraintAttributes, right: ConstraintAttributes) { - left = left.intersect(right) + left.unionInPlace(right) } internal func -=(inout left: ConstraintAttributes, right: ConstraintAttributes) { - left = left.subtract(right) + left.subtractInPlace(right) } internal func ==(left: ConstraintAttributes, right: ConstraintAttributes) -> Bool { return left.rawValue == right.rawValue