mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Switch a bunch of UnsafePointer<T>'s over to T*
Swift SVN r18220
This commit is contained in:
@@ -240,7 +240,7 @@ extension UTF16 {
|
||||
}
|
||||
|
||||
static func copy<T: StringElement, U: StringElement>(
|
||||
source: UnsafePointer<T>, destination: UnsafePointer<U>, count: Int
|
||||
source: 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