Merge branch 'master' of github.com:Masonry/Snappy

This commit is contained in:
Robert Payne 2014-10-29 10:32:24 +13:00
commit 0f860a014a
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
internal init(_ rawValue: UInt) { internal init(_ rawValue: UInt) {
self.init(rawValue: rawValue) self.init(rawValue: rawValue)
} }
internal init(nilLiteral: ()) {
self.rawValue = 0
}
internal private(set) var rawValue: UInt internal private(set) var rawValue: UInt
internal static var allZeros: ConstraintAttributes { return self(0) } internal static var allZeros: ConstraintAttributes { return self(0) }