mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Fix Swiftlint warning
This commit is contained in:
1 parent
2845570929
commit
7707bbd1e9
1 file changed
+3
-1
@@ -45,7 +45,9 @@ final class SchedulingWatchdog: @unchecked Sendable {
|
||||
}
|
||||
|
||||
/// Must be called from a DispatchQueue with an attached SchedulingWatchdog.
|
||||
static func inheritingAllowedDatabases<T>(_ allowedDatabases: [Database], execute body: () throws -> T) rethrows -> T {
|
||||
static func inheritingAllowedDatabases<T>(
|
||||
_ allowedDatabases: [Database], execute body: () throws -> T
|
||||
) rethrows -> T {
|
||||
let watchdog = current!
|
||||
let backup = watchdog.allowedDatabases
|
||||
watchdog.allowedDatabases.append(contentsOf: allowedDatabases)
|
||||
|
||||
Reference in new issue
Block a user