Skip to content

Commit

Permalink
Compatibility with swift 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Nov 14, 2023
1 parent 2461a05 commit 333b577
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/SwiftLocation/Async Tasks/Authorization.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extension Tasks {
public var authorizationStatus: CLAuthorizationStatus {
switch self {
case let .didChangeAuthorization(status):
status
return status
}
}

Expand Down
6 changes: 3 additions & 3 deletions Sources/SwiftLocation/Support/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ extension CLAccuracyAuthorization: CustomStringConvertible {
public var description: String {
switch self {
case .fullAccuracy:
"fullAccuracy"
return "fullAccuracy"
case .reducedAccuracy:
"reducedAccuracy"
return "reducedAccuracy"
@unknown default:
"Unknown (\(rawValue))"
return "Unknown (\(rawValue))"
}
}

Expand Down

0 comments on commit 333b577

Please sign in to comment.