mirror of https://github.com/SnapKit/SnapKit
Merge pull request #16 from cnoon/master
Fixed compiler error on Xcode 6.1 for NilLiteralConvertible protocol conformance.
This commit is contained in:
commit
068c440dd1
|
@ -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) }
|
||||
|
|
Loading…
Reference in New Issue