Skip to content

Commit cb8199f

Browse files
authored
fix: Remove unnecessary conformance from MetricKit models (#6943)
1 parent 1b15a2a commit cb8199f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Swift/Core/MetricKit/SentryMXCallStackTree.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Foundation
55
* JSON specification of MXCallStackTree can be found here https://developer.apple.com/documentation/metrickit/mxcallstacktree/3552293-jsonrepresentation
66
*/
77
@objcMembers
8-
@_spi(Private) public class SentryMXCallStackTree: NSObject, Codable {
8+
@_spi(Private) public class SentryMXCallStackTree: NSObject, Decodable {
99

1010
public let callStacks: [SentryMXCallStack]
1111
public let callStackPerThread: Bool
@@ -16,7 +16,7 @@ import Foundation
1616
}
1717

1818
@objcMembers
19-
@_spi(Private) public class SentryMXCallStack: NSObject, Codable {
19+
@_spi(Private) public class SentryMXCallStack: NSObject, Decodable {
2020
public let threadAttributed: Bool?
2121
public let callStackRootFrames: [SentryMXFrame]
2222

@@ -26,7 +26,7 @@ import Foundation
2626
}
2727

2828
@objcMembers
29-
@_spi(Private) public class SentryMXFrame: NSObject, Codable {
29+
@_spi(Private) public class SentryMXFrame: NSObject, Decodable {
3030
public let binaryUUID: UUID
3131
public let offsetIntoBinaryTextSegment: Int
3232
public let binaryName: String?

0 commit comments

Comments
 (0)