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/random_vector.h b/modules/audio_coding/neteq/random_vector.h
index 1d37600..4a782f1 100644
--- a/modules/audio_coding/neteq/random_vector.h
+++ b/modules/audio_coding/neteq/random_vector.h
@@ -14,8 +14,6 @@
#include <stddef.h>
#include <stdint.h>
-#include "rtc_base/constructor_magic.h"
-
namespace webrtc {
// This class generates pseudo-random samples.
@@ -26,6 +24,9 @@
RandomVector() : seed_(777), seed_increment_(1) {}
+ RandomVector(const RandomVector&) = delete;
+ RandomVector& operator=(const RandomVector&) = delete;
+
void Reset();
void Generate(size_t length, int16_t* output);
@@ -39,8 +40,6 @@
private:
uint32_t seed_;
int16_t seed_increment_;
-
- RTC_DISALLOW_COPY_AND_ASSIGN(RandomVector);
};
} // namespace webrtc