fix compiler error on Xcode 13

This commit is contained in:
John Estropia
2021-06-19 15:49:45 +09:00
parent 4534bc06f5
commit 9cc616f720

View File

@@ -573,7 +573,7 @@ extension Internals {
let items = itemIDs.lazy.map({ Item(differenceIdentifier: $0) })
self.sections[indexPath.section].elements
.insert(contentsOf: items, at: indexPath.row)
.insert(contentsOf: items, at: indexPath.item)
}
mutating func remove<S: Sequence>(itemIDs: S) where S.Element == NSManagedObjectID {