SE-0242: Synthesize default values for the memberwise initializer

...and more initializers cleanup
This commit is contained in:
Gwendal Roué committed 2020-03-09 08:49:06 +01:00
1 parent 7614f36bbd
commit 19061934ce
9 files changed
+11 -76

No files matched your search

@@ -30,11 +30,9 @@
/// See https://github.com/groue/GRDB.swift#the-query-interface
public struct QueryInterfaceRequest<T> {
var query: SQLQuery
init(query: SQLQuery) {
self.query = query
}
}
extension QueryInterfaceRequest {
init(relation: SQLRelation) {
self.init(query: SQLQuery(relation: relation))
}