SwiftRegex: changed static method to static to avoid unnecessary dynamic dispatching
This commit is contained in:
parent
bad0d4b419
commit
dc50af1505
@ -37,7 +37,7 @@ public class SwiftRegex: NSObject, BooleanType {
|
||||
super.init()
|
||||
}
|
||||
|
||||
class func failure(message: String) {
|
||||
static func failure(message: String) {
|
||||
print("SwiftRegex: "+message)
|
||||
//assert(false,"SwiftRegex: failed")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user