diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift index e9d9693..5fba160 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift @@ -1,3 +1,5 @@ +import OrderedCollections + extension IdentifiedArray: Encodable where Element: Encodable { @inlinable public func encode(to encoder: Encoder) throws { diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift index df06c11..d47ddb1 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift @@ -1,3 +1,5 @@ +import OrderedCollections + extension IdentifiedArray: Collection { @inlinable @inline(__always) diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift index a1f43ec..91376bd 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift @@ -1,3 +1,5 @@ +import OrderedCollections + extension IdentifiedArray { /// Creates a new array from the elements in the given sequence, which must not contain duplicate /// ids. diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift index 77d675f..72728ed 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift @@ -1,3 +1,5 @@ +import OrderedCollections + extension IdentifiedArray { /// Append a new member to the end of the array, if the array doesn't already contain it. /// diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift index 39747c9..9dab923 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift @@ -1,3 +1,5 @@ +import OrderedCollections + extension IdentifiedArray: MutableCollection { @inlinable @inline(__always) diff --git a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift index 3644f6c..8d1d737 100644 --- a/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift +++ b/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift @@ -1,3 +1,5 @@ +import OrderedCollections + @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) extension IdentifiedArray: RangeReplaceableCollection where Element: Identifiable, ID == Element.ID {