mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
StrictConcurrency: fix warning about AnyDatabaseCancellable initializer
This commit is contained in:
1 parent
484224c654
commit
8f486a5e41
1 file changed
+1
-1
@@ -36,7 +36,7 @@ public final class AnyDatabaseCancellable: DatabaseCancellable, @unchecked Senda
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a cancellable object that forwards cancellation to `base`.
|
/// Creates a cancellable object that forwards cancellation to `base`.
|
||||||
public convenience init(_ base: some DatabaseCancellable) {
|
public convenience init(_ base: some DatabaseCancellable & Sendable) {
|
||||||
self.init {
|
self.init {
|
||||||
base.cancel()
|
base.cancel()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user