Skip to content

Commit

Permalink
Update CLLocationCoordinate2D+Extension.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Oct 1, 2024
1 parent c92b75b commit 83260c1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
import Foundation
import CoreLocation

extension CLLocationCoordinate2D: @retroactive Equatable {}

extension CLLocationCoordinate2D: @retroactive Hashable {
extension CLLocationCoordinate2D: Hashable {
func distance(from location: CLLocationCoordinate2D) -> CLLocationDistance {
let currentLocation = CLLocation(location: self)
let fromLocation = CLLocation(location: location)
Expand Down

0 comments on commit 83260c1

Please sign in to comment.