Verified Commit 05b599e3 authored by asahiocean's avatar asahiocean 🚀
Browse files

commit

parent 644acd06
......@@ -7,11 +7,11 @@ extension CLLocationCoordinate2D {
return .init(latitude: latitude, longitude: longitude)
}
public static func ==(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
public static func ==(lhs: Self, rhs: Self) -> Bool {
return (lhs.latitude == rhs.latitude && lhs.longitude == rhs.longitude)
}
public static func !=(lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
public static func !=(lhs: Self, rhs: Self) -> Bool {
return !(lhs == rhs)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment