mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Fix deprecation warnings
This commit is contained in:
3 files changed
+3
-1
No files matched your search
@@ -294,7 +294,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
@inlinable
|
||||
internal mutating func _ensureFreeCapacitySlow(_ freeCapacity: Int) {
|
||||
let newCapacity = _grow(freeCapacity: freeCapacity)
|
||||
reallocate(capacity: newCapacity)
|
||||
setCapacity(newCapacity)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user