Remove RTC_DISALLOW_COPY_AND_ASSIGN from rtc_base/

Bug: webrtc:13555, webrtc:13082
Change-Id: I406b7f04497562866ea3329e97c5adc96e927b6f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/245680
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@{#35691}
This commit is contained in:
Byoungchan Lee
2022-01-12 05:24:58 +09:00
committed by WebRTC LUCI CQ
parent ca15fcd37e
commit 14af7622a7
43 changed files with 203 additions and 151 deletions

View File

@ -13,7 +13,6 @@
#include <stddef.h>
#include "rtc_base/constructor_magic.h"
#include "rtc_base/socket.h"
#include "rtc_base/stream.h"
#include "rtc_base/third_party/sigslot/sigslot.h"
@ -27,6 +26,9 @@ class SocketStream : public StreamInterface, public sigslot::has_slots<> {
explicit SocketStream(Socket* socket);
~SocketStream() override;
SocketStream(const SocketStream&) = delete;
SocketStream& operator=(const SocketStream&) = delete;
void Attach(Socket* socket);
Socket* Detach();
@ -53,8 +55,6 @@ class SocketStream : public StreamInterface, public sigslot::has_slots<> {
void OnCloseEvent(Socket* socket, int err);
Socket* socket_;
RTC_DISALLOW_COPY_AND_ASSIGN(SocketStream);
};
///////////////////////////////////////////////////////////////////////////////