diff --git a/Snappy/ConstraintAttributes.swift b/Snappy/ConstraintAttributes.swift index 36c566b..ae7fa4d 100644 --- a/Snappy/ConstraintAttributes.swift +++ b/Snappy/ConstraintAttributes.swift @@ -38,6 +38,9 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType { internal init(_ rawValue: UInt) { self.init(rawValue: rawValue) } + internal init(nilLiteral: ()) { + self.rawValue = 0 + } internal private(set) var rawValue: UInt internal static var allZeros: ConstraintAttributes { return self(0) }