diff --git a/GRDB/Core/SchedulingWatchdog.swift b/GRDB/Core/SchedulingWatchdog.swift index 0081aef17..3c2ba702b 100644 --- a/GRDB/Core/SchedulingWatchdog.swift +++ b/GRDB/Core/SchedulingWatchdog.swift @@ -45,7 +45,9 @@ final class SchedulingWatchdog: @unchecked Sendable { } /// Must be called from a DispatchQueue with an attached SchedulingWatchdog. - static func inheritingAllowedDatabases(_ allowedDatabases: [Database], execute body: () throws -> T) rethrows -> T { + static func inheritingAllowedDatabases( + _ allowedDatabases: [Database], execute body: () throws -> T + ) rethrows -> T { let watchdog = current! let backup = watchdog.allowedDatabases watchdog.allowedDatabases.append(contentsOf: allowedDatabases)