stdlib: Make isUniquelyReferenced shims properly return bool.

rdar://problem/18573806 is fixed.

Swift SVN r23547
This commit is contained in:
Joe Groff
2014-11-22 05:36:38 +00:00
parent f8dfcaa84e
commit b60a30c84b
8 changed files with 30 additions and 32 deletions

View File

@@ -241,7 +241,7 @@ internal func _usesNativeSwiftReferenceCounting(theClass: AnyClass) -> Bool {
#if _runtime(_ObjC)
return _swift_usesNativeSwiftReferenceCounting_class(
unsafeAddressOf(theClass)
) != 0
)
#else
return true
#endif