Skip to content

Commit

Permalink
Fixes warnings: Actor Isolated Property
Browse files Browse the repository at this point in the history
Part of a fix for #771
  • Loading branch information
aaronbrethorst committed Dec 12, 2024
1 parent 4299aba commit b7ce371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OBAKitCore/Network/ObacoAPIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public protocol ObacoServiceDelegate: NSObjectProtocol {
/// API service client for the Obaco (`alerts.onebusaway.org`) service.
///
/// Obaco provides services like weather, trip status, and alarms to the iOS app.
public actor ObacoAPIService: APIService {
public actor ObacoAPIService: @preconcurrency APIService {
public let configuration: APIServiceConfiguration
public nonisolated let dataLoader: URLDataLoader

Expand Down
2 changes: 1 addition & 1 deletion OBAKitCore/Network/RESTAPIService/RESTAPIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Foundation
import os.log

/// Makes API calls to the OBA REST service and converts the server's responses into model objects.
public actor RESTAPIService: APIService {
public actor RESTAPIService: @preconcurrency APIService {
public let configuration: APIServiceConfiguration
public nonisolated let dataLoader: URLDataLoader

Expand Down

0 comments on commit b7ce371

Please sign in to comment.