We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a038771 commit f461353Copy full SHA for f461353
stdlib/public/Cxx/CxxSet.swift
@@ -31,7 +31,7 @@ extension CxxSet {
31
/// - Complexity: O(*n*), where *n* is the number of elements in the Swift
32
/// sequence
33
@inlinable
34
- public init<S: Sequence>(_ sequence: S) where S.Element == Element {
+ public init<S: Sequence>(_ sequence: __shared S) where S.Element == Element {
35
self.init()
36
for item in sequence {
37
self.__insertUnsafe(item)
0 commit comments