Skip to content

Commit 856b8bc

Browse files
committed
NSDecimalNumberHandler: default is now a property
1 parent 3c8d51e commit 856b8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSDecimalNumber.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ open class NSDecimalNumberHandler : NSObject, NSDecimalNumberBehaviors, NSCoding
408408
}
409409
}
410410

411-
open class func `default`() -> NSDecimalNumberHandler {
411+
open class var `default`: NSDecimalNumberHandler {
412412
return defaultBehavior
413413
}
414414
// rounding mode: NSRoundPlain

0 commit comments

Comments
 (0)