mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: Make isUniquelyReferenced shims properly return bool.
rdar://problem/18573806 is fixed. Swift SVN r23547
This commit is contained in:
@@ -241,7 +241,7 @@ internal func _usesNativeSwiftReferenceCounting(theClass: AnyClass) -> Bool {
|
||||
#if _runtime(_ObjC)
|
||||
return _swift_usesNativeSwiftReferenceCounting_class(
|
||||
unsafeAddressOf(theClass)
|
||||
) != 0
|
||||
)
|
||||
#else
|
||||
return true
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user