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/rtp_rtcp/source/rtp_rtcp_interface.h b/modules/rtp_rtcp/source/rtp_rtcp_interface.h index f3cb8d2..a411b23 100644 --- a/modules/rtp_rtcp/source/rtp_rtcp_interface.h +++ b/modules/rtp_rtcp/source/rtp_rtcp_interface.h
@@ -27,7 +27,6 @@ #include "modules/rtp_rtcp/source/rtp_packet_to_send.h" #include "modules/rtp_rtcp/source/rtp_sequence_number_map.h" #include "modules/rtp_rtcp/source/video_fec_generator.h" -#include "rtc_base/constructor_magic.h" #include "system_wrappers/include/ntp_time.h" namespace webrtc { @@ -47,6 +46,9 @@ Configuration() = default; Configuration(Configuration&& rhs) = default; + Configuration(const Configuration&) = delete; + Configuration& operator=(const Configuration&) = delete; + // True for a audio version of the RTP/RTCP module object false will create // a video version. bool audio = false; @@ -145,9 +147,6 @@ // Estimate RTT as non-sender as described in // https://tools.ietf.org/html/rfc3611#section-4.4 and #section-4.5 bool non_sender_rtt_measurement = false; - - private: - RTC_DISALLOW_COPY_AND_ASSIGN(Configuration); }; // Stats for RTCP sender reports (SR) for a specific SSRC.