Remove RTC_DISALLOW_COPY_AND_ASSIGN usages completely
Bug: webrtc:13555, webrtc:13082 Change-Id: Iff2cda6f516739419e97e975e03f77a98f74be03 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249260 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: (Daniel.L) Byoungchan Lee <daniel.l@hpcnt.com> Cr-Commit-Position: refs/heads/main@{#35805}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
38c762c0ab
commit
5f0eb93d2a
@ -14,7 +14,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "common_audio/vad/mock/mock_vad.h"
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/mock_audio_encoder.h"
|
||||
@ -50,6 +49,9 @@ class AudioEncoderCngTest : public ::testing::Test {
|
||||
EXPECT_CALL(*mock_encoder_, NumChannels()).WillRepeatedly(Return(1));
|
||||
}
|
||||
|
||||
AudioEncoderCngTest(const AudioEncoderCngTest&) = delete;
|
||||
AudioEncoderCngTest& operator=(const AudioEncoderCngTest&) = delete;
|
||||
|
||||
void TearDown() override {
|
||||
EXPECT_CALL(*mock_vad_, Die()).Times(1);
|
||||
cng_.reset();
|
||||
@ -208,8 +210,6 @@ class AudioEncoderCngTest : public ::testing::Test {
|
||||
rtc::Buffer encoded_;
|
||||
AudioEncoder::EncodedInfo encoded_info_;
|
||||
int sample_rate_hz_;
|
||||
|
||||
RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderCngTest);
|
||||
};
|
||||
|
||||
TEST_F(AudioEncoderCngTest, CreateAndDestroy) {
|
||||
|
||||
Reference in New Issue
Block a user