Skip to content

Commit 0bd479b

Browse files
authored
Fix build warning
Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
1 parent b1b28a5 commit 0bd479b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LocationExtension/LocationAccuracy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import MapKit
2424

2525
extension CLLocationManager {
2626

27-
open func setAccuracy(_ value: LocationAccuracy) {
27+
public func setAccuracy(_ value: LocationAccuracy) {
2828
desiredAccuracy = value.coreLocationAccuracy
2929
}
3030
}

0 commit comments

Comments
 (0)