StrictConcurrency: OrderedDictionary is conditionally Sendable

This commit is contained in:
Gwendal Roué committed 2024-07-27 16:37:33 +02:00
1 parent 5a2c15b82e
commit e022c35b49
1 file changed
+2
+2
View File
@@ -207,6 +207,8 @@ extension OrderedDictionary: CustomStringConvertible {
}
}
extension OrderedDictionary: Sendable where Key: Sendable, Value: Sendable { }
extension Dictionary {
init(_ orderedDictionary: OrderedDictionary<Key, Value>) {
self = orderedDictionary.dictionary