diff --git a/stdlib/public/Cxx/CxxSet.swift b/stdlib/public/Cxx/CxxSet.swift index e3f143da45b60..d468f6deed52e 100644 --- a/stdlib/public/Cxx/CxxSet.swift +++ b/stdlib/public/Cxx/CxxSet.swift @@ -31,7 +31,7 @@ extension CxxSet { /// - Complexity: O(*n*), where *n* is the number of elements in the Swift /// sequence @inlinable - public init(_ sequence: S) where S.Element == Element { + public init(_ sequence: __shared S) where S.Element == Element { self.init() for item in sequence { self.__insertUnsafe(item)