From 5a9b2db57e3c4b75c8af901fffb14cf3a9fecc42 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 12 Mar 2025 11:26:37 +0100 Subject: [PATCH] Fix broken overriding --- LeStorage/StoredCollection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LeStorage/StoredCollection.swift b/LeStorage/StoredCollection.swift index de83721..c8c56d0 100644 --- a/LeStorage/StoredCollection.swift +++ b/LeStorage/StoredCollection.swift @@ -204,7 +204,7 @@ public class StoredCollection: RandomAccessCollection, SomeCollecti } /// Deletes all items of the sequence by id and sets the collection as changed to trigger a write - public func delete(contentOfs sequence: any Sequence) { + public func delete(contentOfs sequence: any RandomAccessCollection) { defer { self._hasChanged = true