Skip to content

Commit

Permalink
REPLAY-19-36 fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxep committed Aug 16, 2023
1 parent 85f07ae commit 1642329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DatadogSessionReplay/Sources/SessionReplay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public final class SessionReplay: NSObject {
sessionReplay.writer.startWriting(to: core)
}

private override init() {
override private init() {
super.init()
}
}
4 changes: 2 additions & 2 deletions DatadogSessionReplay/Sources/SessionReplayConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import DatadogInternal
/// Session Replay feature configuration.
@objc(DDSessionReplayConfiguration)
public final class SessionReplayConfiguration: NSObject {

/// The sampling rate for Session Replay. It is applied in addition to the RUM session sample rate.
///
/// It must be a number between 0.0 and 100.0, where 0 means no replays will be recorded
Expand Down Expand Up @@ -55,7 +54,8 @@ public final class SessionReplayConfiguration: NSObject {
///
/// - Parameters:
/// - replaySampleRate: The sampling rate for Session Replay. It is applied in addition to the RUM session sample rate.
@objc @available(swift, obsoleted: 1)
@objc
@available(swift, obsoleted: 1)
public convenience init(replaySampleRate: Float) {
self.init(replaySampleRate: replaySampleRate)
}
Expand Down

0 comments on commit 1642329

Please sign in to comment.