We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23743cb commit af0050cCopy full SHA for af0050c
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