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}
diff --git a/modules/audio_coding/neteq/tools/audio_loop.h b/modules/audio_coding/neteq/tools/audio_loop.h
index 25da463..a73be2d 100644
--- a/modules/audio_coding/neteq/tools/audio_loop.h
+++ b/modules/audio_coding/neteq/tools/audio_loop.h
@@ -15,7 +15,6 @@
#include <string>
#include "api/array_view.h"
-#include "rtc_base/constructor_magic.h"
namespace webrtc {
namespace test {
@@ -29,6 +28,9 @@
virtual ~AudioLoop() {}
+ AudioLoop(const AudioLoop&) = delete;
+ AudioLoop& operator=(const AudioLoop&) = delete;
+
// Initializes the AudioLoop by reading from `file_name`. The loop will be no
// longer than `max_loop_length_samples`, if the length of the file is
// greater. Otherwise, the loop length is the same as the file length.
@@ -47,8 +49,6 @@
size_t loop_length_samples_;
size_t block_length_samples_;
std::unique_ptr<int16_t[]> audio_array_;
-
- RTC_DISALLOW_COPY_AND_ASSIGN(AudioLoop);
};
} // namespace test