mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Unsafe[Mutable]Pointer.memory => .pointee
This commit is contained in:
committed by
Max Moiseev
parent
f1dbe205a3
commit
3d0ad16094
@@ -224,7 +224,7 @@ extension _ArrayBuffer {
|
||||
// Make another pass to retain the copied objects
|
||||
var result = target
|
||||
for _ in bounds {
|
||||
result.initialize(result.memory)
|
||||
result.initialize(result.pointee)
|
||||
++result
|
||||
}
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user