Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/

Bug: webrtc:13555, webrtc:13082
Change-Id: I2c2cbcbd918f0cfa970c1a964893220ba11d4b41
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/247960
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: (Daniel.L) Byoungchan Lee <daniel.l@hpcnt.com>
Cr-Commit-Position: refs/heads/main@{#35771}
This commit is contained in:
Byoungchan Lee
2022-01-21 09:49:39 +09:00
committed by WebRTC LUCI CQ
parent ce6170fcdf
commit 604fd2f1ab
127 changed files with 466 additions and 393 deletions

View File

@ -16,7 +16,6 @@
#include "absl/types/optional.h"
#include "api/audio_codecs/audio_decoder.h"
#include "api/scoped_refptr.h"
#include "rtc_base/constructor_magic.h"
namespace webrtc {
@ -30,6 +29,9 @@ class AudioDecoderIsacT final : public AudioDecoder {
explicit AudioDecoderIsacT(const Config& config);
virtual ~AudioDecoderIsacT() override;
AudioDecoderIsacT(const AudioDecoderIsacT&) = delete;
AudioDecoderIsacT& operator=(const AudioDecoderIsacT&) = delete;
bool HasDecodePlc() const override;
size_t DecodePlc(size_t num_frames, int16_t* decoded) override;
void Reset() override;
@ -45,8 +47,6 @@ class AudioDecoderIsacT final : public AudioDecoder {
private:
typename T::instance_type* isac_state_;
int sample_rate_hz_;
RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoderIsacT);
};
} // namespace webrtc

View File

@ -18,7 +18,6 @@
#include "api/audio_codecs/audio_encoder.h"
#include "api/scoped_refptr.h"
#include "api/units/time_delta.h"
#include "rtc_base/constructor_magic.h"
#include "system_wrappers/include/field_trial.h"
namespace webrtc {
@ -44,6 +43,9 @@ class AudioEncoderIsacT final : public AudioEncoder {
explicit AudioEncoderIsacT(const Config& config);
~AudioEncoderIsacT() override;
AudioEncoderIsacT(const AudioEncoderIsacT&) = delete;
AudioEncoderIsacT& operator=(const AudioEncoderIsacT&) = delete;
int SampleRateHz() const override;
size_t NumChannels() const override;
size_t Num10MsFramesInNextPacket() const override;
@ -99,8 +101,6 @@ class AudioEncoderIsacT final : public AudioEncoder {
// Start out with a reasonable default that we can use until we receive a real
// value.
DataSize overhead_per_packet_ = DataSize::Bytes(28);
RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderIsacT);
};
} // namespace webrtc