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:
committed by
WebRTC LUCI CQ
parent
ca15fcd37e
commit
14af7622a7
@ -18,7 +18,6 @@
|
||||
#include "absl/base/attributes.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "rtc_base/async_invoker_inl.h"
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/third_party/sigslot/sigslot.h"
|
||||
@ -94,6 +93,9 @@ class DEPRECATED_AsyncInvoker : public MessageHandlerAutoCleanup {
|
||||
DEPRECATED_AsyncInvoker();
|
||||
~DEPRECATED_AsyncInvoker() override;
|
||||
|
||||
DEPRECATED_AsyncInvoker(const DEPRECATED_AsyncInvoker&) = delete;
|
||||
DEPRECATED_AsyncInvoker& operator=(const DEPRECATED_AsyncInvoker&) = delete;
|
||||
|
||||
// Call `functor` asynchronously on `thread`, with no callback upon
|
||||
// completion. Returns immediately.
|
||||
template <class ReturnT, class FunctorT>
|
||||
@ -159,8 +161,6 @@ class DEPRECATED_AsyncInvoker : public MessageHandlerAutoCleanup {
|
||||
std::atomic<bool> destroying_;
|
||||
|
||||
friend class AsyncClosure;
|
||||
|
||||
RTC_DISALLOW_COPY_AND_ASSIGN(DEPRECATED_AsyncInvoker);
|
||||
};
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Reference in New Issue
Block a user