mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update Foundation overlay for id-as-Any.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
// -----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user