Revert r18232, r18220: we're not doing T* now.

Swift SVN r18250
This commit is contained in:
Doug Gregor
2014-05-17 16:36:02 +00:00
parent d6e4964ace
commit bed81488c1
11 changed files with 51 additions and 44 deletions

View File

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