mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Better compilation time
This commit is contained in:
1 parent
76ab3fd1ab
commit
ced9493069
1 file changed
+1
-1
+1
-1
@@ -873,7 +873,7 @@ private struct StatementCopyRowImpl : RowImpl {
|
||||
init(sqliteStatement: SQLiteStatement, columnNames: [String]) {
|
||||
assert(sqliteStatement != nil)
|
||||
let sqliteStatement = sqliteStatement
|
||||
self.databaseValues = ContiguousArray((0..<sqlite3_column_count(sqliteStatement)).lazy.map { DatabaseValue(sqliteStatement: sqliteStatement, index: $0) })
|
||||
self.databaseValues = ContiguousArray((0..<sqlite3_column_count(sqliteStatement)).map { DatabaseValue(sqliteStatement: sqliteStatement, index: $0) } as [DatabaseValue])
|
||||
self.columnNames = columnNames
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user