Switch a bunch of UnsafePointer<T>'s over to T*

Swift SVN r18220
This commit is contained in:
Doug Gregor
2014-05-16 22:32:01 +00:00
parent 39841c3889
commit 73f02d1a69
11 changed files with 46 additions and 46 deletions

View File

@@ -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(