Make ParsedRtcEventLog non-copyable

Bug: webrtc:396148607
Change-Id: I74e5fafd0348f8f1352e7876073ee17fe987e66a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/377080
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43895}
This commit is contained in:
Rasmus Brandt 2025-02-13 09:24:57 +01:00 committed by WebRTC LUCI CQ
parent c90a23b3f2
commit bdb9db695d
2 changed files with 4 additions and 1 deletions

View File

@ -383,6 +383,9 @@ class ParsedRtcEventLog {
UnconfiguredHeaderExtensions::kDontParse, UnconfiguredHeaderExtensions::kDontParse,
bool allow_incomplete_log = false); bool allow_incomplete_log = false);
ParsedRtcEventLog(const ParsedRtcEventLog&) = delete;
ParsedRtcEventLog& operator=(const ParsedRtcEventLog&) = delete;
~ParsedRtcEventLog(); ~ParsedRtcEventLog();
// Clears previously parsed events and resets the ParsedRtcEventLogNew to an // Clears previously parsed events and resets the ParsedRtcEventLogNew to an

View File

@ -240,7 +240,7 @@ class ReplacementAudioDecoderFactory : public AudioDecoderFactory {
// the test and returns the NetEqDelayAnalyzer object that was used to // the test and returns the NetEqDelayAnalyzer object that was used to
// instrument the test. // instrument the test.
std::unique_ptr<test::NetEqStatsGetter> CreateNetEqTestAndRun( std::unique_ptr<test::NetEqStatsGetter> CreateNetEqTestAndRun(
ParsedRtcEventLog parsed_log, const ParsedRtcEventLog& parsed_log,
uint32_t ssrc, uint32_t ssrc,
const std::string& replacement_file_name, const std::string& replacement_file_name,
int file_sample_rate_hz) { int file_sample_rate_hz) {