mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Per design discussion today, rename UnsafePointer ".pointee" to ".memory".
Swift SVN r18269
This commit is contained in:
@@ -250,8 +250,8 @@ extension UTF16 {
|
||||
}
|
||||
else {
|
||||
for i in 0..count {
|
||||
let u16 = T.toUTF16CodeUnit((source + i).pointee)
|
||||
(destination + i).pointee = U.fromUTF16CodeUnit(u16)
|
||||
let u16 = T.toUTF16CodeUnit((source + i).memory)
|
||||
(destination + i).memory = U.fromUTF16CodeUnit(u16)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user