Skip to content

Commit

Permalink
Fix build warning
Browse files Browse the repository at this point in the history
Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
  • Loading branch information
passatgt committed Apr 17, 2023
1 parent b1b28a5 commit 0bd479b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LocationExtension/LocationAccuracy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import MapKit

extension CLLocationManager {

open func setAccuracy(_ value: LocationAccuracy) {
public func setAccuracy(_ value: LocationAccuracy) {
desiredAccuracy = value.coreLocationAccuracy
}
}
Expand Down

0 comments on commit 0bd479b

Please sign in to comment.