Move RtcpTransceiver deletion of copy and assign methods to public section
Bug: chromium:881453
Change-Id: Iff5c522b983af018c1308649887a1121519c73ea
Reviewed-on: https://webrtc-review.googlesource.com/98981
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24652}
diff --git a/modules/rtp_rtcp/source/rtcp_transceiver_impl.h b/modules/rtp_rtcp/source/rtcp_transceiver_impl.h
index c97b2c5..eb9086f 100644
--- a/modules/rtp_rtcp/source/rtcp_transceiver_impl.h
+++ b/modules/rtp_rtcp/source/rtcp_transceiver_impl.h
@@ -25,7 +25,6 @@
#include "modules/rtp_rtcp/source/rtcp_packet/target_bitrate.h"
#include "modules/rtp_rtcp/source/rtcp_transceiver_config.h"
#include "rtc_base/cancelable_task_handle.h"
-#include "rtc_base/constructormagic.h"
#include "system_wrappers/include/ntp_time.h"
namespace webrtc {
@@ -36,6 +35,8 @@
class RtcpTransceiverImpl {
public:
explicit RtcpTransceiverImpl(const RtcpTransceiverConfig& config);
+ RtcpTransceiverImpl(const RtcpTransceiverImpl&) = delete;
+ RtcpTransceiverImpl& operator=(const RtcpTransceiverImpl&) = delete;
~RtcpTransceiverImpl();
void AddMediaReceiverRtcpObserver(uint32_t remote_ssrc,
@@ -96,8 +97,6 @@
// needed.
std::map<uint32_t, RemoteSenderState> remote_senders_;
rtc::CancelableTaskHandle periodic_task_handle_;
-
- RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcpTransceiverImpl);
};
} // namespace webrtc