Remove RTC_DISALLOW_COPY_AND_ASSIGN usages completely
Bug: webrtc:13555, webrtc:13082 Change-Id: Iff2cda6f516739419e97e975e03f77a98f74be03 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249260 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@{#35805}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
38c762c0ab
commit
5f0eb93d2a
@ -34,7 +34,6 @@
|
||||
#include "api/task_queue/task_queue_base.h"
|
||||
#include "rtc_base/arraysize.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
@ -122,6 +121,9 @@ class MultimediaTimer {
|
||||
::CloseHandle(event_);
|
||||
}
|
||||
|
||||
MultimediaTimer(const MultimediaTimer&) = delete;
|
||||
MultimediaTimer& operator=(const MultimediaTimer&) = delete;
|
||||
|
||||
bool StartOneShotTimer(UINT delay_ms) {
|
||||
RTC_DCHECK_EQ(0, timer_id_);
|
||||
RTC_DCHECK(event_ != nullptr);
|
||||
@ -148,8 +150,6 @@ class MultimediaTimer {
|
||||
private:
|
||||
HANDLE event_ = nullptr;
|
||||
MMRESULT timer_id_ = 0;
|
||||
|
||||
RTC_DISALLOW_COPY_AND_ASSIGN(MultimediaTimer);
|
||||
};
|
||||
|
||||
class TaskQueueWin : public TaskQueueBase {
|
||||
|
||||
Reference in New Issue
Block a user