Implement ModelInfo.Equatable.

pull/28/head
Pedro Cuenca 2 years ago
parent 424e53274a
commit e2cc04fce3

@ -100,3 +100,7 @@ extension ModelInfo {
ModelInfo.MODELS.first(where: {$0.modelId == modelId}) ModelInfo.MODELS.first(where: {$0.modelId == modelId})
} }
} }
extension ModelInfo : Equatable {
static func ==(lhs: ModelInfo, rhs: ModelInfo) -> Bool { lhs.modelId == rhs.modelId }
}

Loading…
Cancel
Save