Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS
The former was unused, the latter is replaced with the explicit C++11 deletions. The related RTC_DISALLOW_COPY_AND_ASSIGN is left for now, it is used in a lot more places. Bug: None Change-Id: I49503e7f2b9ff43c6285f8695833479bbc18c380 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185500 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32224}
This commit is contained in:
@ -23,7 +23,6 @@
|
||||
#include "modules/video_coding/inter_frame_delay.h"
|
||||
#include "modules/video_coding/jitter_estimator.h"
|
||||
#include "modules/video_coding/utility/decoded_frames_history.h"
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/experiments/rtt_mult_experiment.h"
|
||||
#include "rtc_base/numerics/sequence_number_util.h"
|
||||
@ -50,6 +49,10 @@ class FrameBuffer {
|
||||
VCMTiming* timing,
|
||||
VCMReceiveStatisticsCallback* stats_callback);
|
||||
|
||||
FrameBuffer() = delete;
|
||||
FrameBuffer(const FrameBuffer&) = delete;
|
||||
FrameBuffer& operator=(const FrameBuffer&) = delete;
|
||||
|
||||
virtual ~FrameBuffer();
|
||||
|
||||
// Insert a frame into the frame buffer. Returns the picture id
|
||||
@ -188,8 +191,6 @@ class FrameBuffer {
|
||||
|
||||
// rtt_mult experiment settings.
|
||||
const absl::optional<RttMultExperiment::Settings> rtt_mult_settings_;
|
||||
|
||||
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FrameBuffer);
|
||||
};
|
||||
|
||||
} // namespace video_coding
|
||||
|
||||
Reference in New Issue
Block a user