Skip to content

Commit 52a2638

Browse files
authored
Merge pull request swiftlang#78353 from swiftlang/egorzhdan/nfc-fix-cxx-warning
[cxx-interop] NFC: Fix a warning
2 parents 248c3af + 67da202 commit 52a2638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Cxx/CxxDictionary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ extension CxxDictionary {
165165
@inlinable
166166
@discardableResult
167167
public mutating func removeValue(forKey key: Key) -> Value? {
168-
var iter = self.__findMutatingUnsafe(key)
168+
let iter = self.__findMutatingUnsafe(key)
169169
guard iter != self.__endMutatingUnsafe() else { return nil }
170170

171171
let value = iter.pointee.second

0 commit comments

Comments
 (0)