Skip to content

Commit

Permalink
Revert Xcode 16 warning fixes
Browse files Browse the repository at this point in the history
Should be reverted later
  • Loading branch information
romanmazeev committed Jun 27, 2024
1 parent ef5d9aa commit 22dedaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final class BoundingRectConverterTests: XCTestCase {
}
}

extension ScannedBoundingRects: @retroactive Equatable {
extension ScannedBoundingRects: Equatable {
public static func == (lhs: ScannedBoundingRects, rhs: ScannedBoundingRects) -> Bool {
lhs.valid == rhs.valid &&
lhs.invalid == rhs.invalid
Expand Down
2 changes: 1 addition & 1 deletion Tests/MRZScannerTests/Private/TextRecognizerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class TextRecognizerTests: XCTestCase {
}
}

extension TextRecognizer.Result: @retroactive Equatable {
extension TextRecognizer.Result: Equatable {
public static func == (lhs: TextRecognizer.Result, rhs: TextRecognizer.Result) -> Bool {
lhs.results == rhs.results &&
lhs.boundingRect == rhs.boundingRect
Expand Down
2 changes: 1 addition & 1 deletion Tests/MRZScannerTests/Private/ValidatorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ final class ValidatorTests: XCTestCase {
}
}

extension Validator.Result: @retroactive Equatable {
extension Validator.Result: Equatable {
public static func == (lhs: Validator.Result, rhs: Validator.Result) -> Bool {
lhs.result == rhs.result && lhs.index == rhs.index
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/MRZScannerTests/Public/ScannerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private extension CIImage {
}
}

extension ScanningConfiguration: @retroactive Equatable {
extension ScanningConfiguration: Equatable {
public static func == (lhs: ScanningConfiguration, rhs: ScanningConfiguration) -> Bool {
lhs.orientation == rhs.orientation &&
lhs.regionOfInterest == rhs.regionOfInterest &&
Expand Down

0 comments on commit 22dedaf

Please sign in to comment.