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

@ -15,7 +15,6 @@
#include <stdint.h>
#include "modules/audio_coding/neteq/time_stretch.h"
#include "rtc_base/constructor_magic.h"
namespace webrtc {
@ -36,6 +35,9 @@ class PreemptiveExpand : public TimeStretch {
old_data_length_per_channel_(0),
overlap_samples_(overlap_samples) {}
PreemptiveExpand(const PreemptiveExpand&) = delete;
PreemptiveExpand& operator=(const PreemptiveExpand&) = delete;
// This method performs the actual PreemptiveExpand operation. The samples are
// read from `input`, of length `input_length` elements, and are written to
// `output`. The number of samples added through time-stretching is
@ -67,8 +69,6 @@ class PreemptiveExpand : public TimeStretch {
private:
size_t old_data_length_per_channel_;
size_t overlap_samples_;
RTC_DISALLOW_COPY_AND_ASSIGN(PreemptiveExpand);
};
struct PreemptiveExpandFactory {