mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert r18232, r18220: we're not doing T* now.
Swift SVN r18250
This commit is contained in:
@@ -240,7 +240,7 @@ extension UTF16 {
|
||||
}
|
||||
|
||||
static func copy<T: StringElement, U: StringElement>(
|
||||
source: T*, destination: UnsafePointer<U>, count: Int
|
||||
source: UnsafePointer<T>, destination: UnsafePointer<U>, count: Int
|
||||
) {
|
||||
if UWord(Builtin.strideof(T.self)) == UWord(Builtin.strideof(U.self)) {
|
||||
c_memcpy(
|
||||
|
||||
Reference in New Issue
Block a user