mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
This commit is contained in:
1 parent
b0e126f29d
commit
b4922f60a2
8 files changed
+63
-26
No files matched your search
@@ -486,6 +486,8 @@ public struct SQLFunctionName : Hashable {
|
||||
self.sql = sql
|
||||
}
|
||||
|
||||
#if swift(>=4.1)
|
||||
#else
|
||||
/// The hash value
|
||||
///
|
||||
/// :nodoc:
|
||||
@@ -499,6 +501,7 @@ public struct SQLFunctionName : Hashable {
|
||||
public static func == (lhs: SQLFunctionName, rhs: SQLFunctionName) -> Bool {
|
||||
return lhs.sql == rhs.sql
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)
|
||||
|
||||
Reference in new issue
Block a user