Skip to content

Commit

Permalink
changed gps location request class from public to open to be able to …
Browse files Browse the repository at this point in the history
…override it's methods
  • Loading branch information
JoaoMoreiraEVIO committed Nov 9, 2023
1 parent d038e2f commit 6b17507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public typealias Identifier = String

// MARK: - RequestProtocol

public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
public protocol RequestProtocol: AnyObject, Hashable, CustomStringConvertible {
associatedtype ProducedData

typealias DataCallback = ((Result<ProducedData, LocationError>) -> Void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import Foundation
import CoreLocation

/// The following class define a single location request.
public class GPSLocationRequest: RequestProtocol, Codable {
open class GPSLocationRequest: RequestProtocol, Codable {
public typealias ProducedData = CLLocation

/// Unique identifier of the request.
Expand Down

0 comments on commit 6b17507

Please sign in to comment.