Skip to content

Commit 28cda08

Browse files
committed
Fix compilation
1 parent c94ea3d commit 28cda08

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

Sources/SQLite/SQLiteDatabase.swift

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ public final class SQLiteDatabase: DatabaseProtocol, @unchecked Sendable {
4545
public static func makeShared(
4646
path: String,
4747
busyTimeout: TimeInterval = 5,
48-
collationSequences: [
49-
String: @Sendable (String, String) -> ComparisonResult
50-
] = [:]
48+
collationSequences: [String: @Sendable (String, String) -> ComparisonResult] = [:]
5149
) throws -> SQLiteDatabase {
5250
guard path != ":memory:" else {
5351
throw SQLiteError.SQLITE_IOERR
@@ -97,9 +95,7 @@ public final class SQLiteDatabase: DatabaseProtocol, @unchecked Sendable {
9795
public init(
9896
path: String = ":memory:",
9997
busyTimeout: TimeInterval = 5,
100-
collationSequences: [
101-
String: @Sendable (String, String) -> ComparisonResult,
102-
] = [:]
98+
collationSequences: [String: @Sendable (String, String) -> ComparisonResult] = [:]
10399
) throws {
104100
database = try Self.open(
105101
at: path,
@@ -747,9 +743,7 @@ private extension SQLiteDatabase {
747743
class func open(
748744
at path: String,
749745
busyTimeout: TimeInterval,
750-
collationSequences: [
751-
String: @Sendable (String, String) -> ComparisonResult
752-
]
746+
collationSequences: [String: @Sendable (String, String) -> ComparisonResult]
753747
) throws -> Database {
754748
let isInMemory: Bool = {
755749
let p = path.lowercased()

0 commit comments

Comments
 (0)