Skip to content

Commit 9f14869

Browse files
committed
chore: Remove debug meta decodable V9 checks
1 parent fa9a4bb commit 9f14869

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Sources/Swift/Protocol/Codable/SentryDebugMetaCodable.swift

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
@_implementationOnly import _SentryPrivate
22
import Foundation
33

4-
#if SDK_V9
54
final class DebugMetaDecodable: DebugMeta {
65
convenience public init(from decoder: any Decoder) throws {
76
try self.init(decodedFrom: decoder)
87
}
98
}
10-
#else
11-
typealias DebugMetaDecodable = DebugMeta
12-
#endif
9+
1310
extension DebugMetaDecodable: Decodable {
1411

1512
private enum CodingKeys: String, CodingKey {
@@ -22,12 +19,6 @@ extension DebugMetaDecodable: Decodable {
2219
case imageVmAddress = "image_vmaddr"
2320
case codeFile = "code_file"
2421
}
25-
26-
#if !SDK_V9
27-
required convenience public init(from decoder: any Decoder) throws {
28-
try self.init(decodedFrom: decoder)
29-
}
30-
#endif
3122

3223
private convenience init(decodedFrom decoder: Decoder) throws {
3324
let container = try decoder.container(keyedBy: CodingKeys.self)

0 commit comments

Comments
 (0)