We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30b8fd commit 281b0c5Copy full SHA for 281b0c5
stdlib/public/Cxx/CxxDictionary.swift
@@ -38,6 +38,7 @@ public protocol CxxDictionary where Key: Hashable {
38
/// Do not implement this function manually in Swift.
39
@discardableResult
40
mutating func erase(_ key: Key) -> Size
41
+ func __beginUnsafe() -> RawIterator
42
43
44
func __endUnsafe() -> RawIterator
@@ -62,7 +63,7 @@ extension CxxDictionary {
62
63
_ isIncluded: (_ key: Key, _ value: Value) throws -> Bool
64
) rethrows -> [Key: Value] {
65
var filteredDictionary: [Key: Value] = [:]
- var iterator = __findUnsafe(Key)
66
+ var iterator = __beginUnsafe(Key)
67
let endIterator = __endUnsafe()
68
69
while iterator != endIterator {
0 commit comments