Update Foundation overlay for id-as-Any.

This commit is contained in:
Joe Groff
2016-07-22 16:48:19 -07:00
parent 9effc047e6
commit 95e462022d
13 changed files with 105 additions and 92 deletions

View File

@@ -253,7 +253,7 @@ public struct Data : ReferenceConvertible, CustomStringConvertible, Equatable, H
///
/// - parameter reference: The instance of `NSData` that you wish to wrap. This instance will be copied by `struct Data`.
public init(referencing reference: NSData) {
_wrapped = _SwiftNSData(immutableObject: reference.copy())
_wrapped = _SwiftNSData(immutableObject: reference.copy() as AnyObject)
}
// -----------------------------------