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}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
ce6170fcdf
commit
604fd2f1ab
@ -15,7 +15,6 @@
|
||||
#include <list>
|
||||
|
||||
#include "modules/video_coding/packet.h"
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -29,6 +28,10 @@ const int kDefaultFramePeriodMs = 1000 / kDefaultFrameRate;
|
||||
class StreamGenerator {
|
||||
public:
|
||||
StreamGenerator(uint16_t start_seq_num, int64_t current_time);
|
||||
|
||||
StreamGenerator(const StreamGenerator&) = delete;
|
||||
StreamGenerator& operator=(const StreamGenerator&) = delete;
|
||||
|
||||
void Init(uint16_t start_seq_num, int64_t current_time);
|
||||
|
||||
// `time_ms` denotes the timestamp you want to put on the frame, and the unit
|
||||
@ -64,8 +67,6 @@ class StreamGenerator {
|
||||
uint16_t sequence_number_;
|
||||
int64_t start_time_;
|
||||
uint8_t packet_buffer_[kMaxPacketSize];
|
||||
|
||||
RTC_DISALLOW_COPY_AND_ASSIGN(StreamGenerator);
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user