deleted unnecessary Equatable and Hashable custom implementations

This commit is contained in:
John Estropia committed 2018-09-19 11:06:19 +09:00
1 parent ab40532801
commit 45e110755d
19 files changed
+125 -193

No files matched your search

+5 -5
View File
@@ -75,11 +75,11 @@ public final class XcodeSchemaMappingProvider: Hashable, SchemaMappingProvider {
// MARK: Hashable
public var hashValue: Int {
return self.sourceVersion.hashValue
^ self.destinationVersion.hashValue
public func hash(into hasher: inout Hasher) {
hasher.combine(self.sourceVersion)
hasher.combine(self.destinationVersion)
}