Skip to content

Commit

Permalink
Revert "removes Xcode warnings"
Browse files Browse the repository at this point in the history
This reverts commit 1da5d1a.
  • Loading branch information
stmitt committed May 12, 2021
1 parent 1da5d1a commit 4bf4c19
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Sources/DP3TSDK/Cryptography/DiagnosisKeysProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import ExposureNotification
import Foundation

protocol DiagnosisKeysProvider: AnyObject {
protocol DiagnosisKeysProvider: class {
func getFakeDiagnosisKeys(completionHandler: @escaping (Result<[CodableDiagnosisKey], DP3TTracingError>) -> Void)

func getFakeKeys(count: Int, startingFrom: Date) -> [CodableDiagnosisKey]
Expand Down
2 changes: 1 addition & 1 deletion Sources/DP3TSDK/LoggingDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
import os.log

/// A logging delegate
public protocol LoggingDelegate: AnyObject {
public protocol LoggingDelegate: class {
/// Log a string
/// - Parameter LogType: the type of log
/// - Parameter string: The string to log
Expand Down
2 changes: 1 addition & 1 deletion Sources/DP3TSDK/Matching/MatchingProtocols.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import Foundation


protocol Matcher: AnyObject {
protocol Matcher: class {
var timingManager: ExposureDetectionTimingManager? { get set }

/// returns true if we found a match
Expand Down
2 changes: 1 addition & 1 deletion Sources/DP3TSDK/Networking/ExposeeServiceClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct ExposeeSuccess {
let keyBundleTag: String?
}

protocol ExposeeServiceClientProtocol: AnyObject {
protocol ExposeeServiceClientProtocol: class {
typealias ExposeeResult = Result<Data?, DP3TNetworkingError>
typealias ExposeeCompletion = Result<Void, DP3TNetworkingError>

Expand Down
2 changes: 1 addition & 1 deletion Sources/DP3TSDK/Networking/KnownCasesSynchronizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
import UIKit.UIApplication

/// A delegate used to respond on DP3T events
protocol KnownCasesSynchronizerDelegate: AnyObject {
protocol KnownCasesSynchronizerDelegate: class {
/// We found a match
func didFindMatch()
}
Expand Down

0 comments on commit 4bf4c19

Please sign in to comment.