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:
@ -76,23 +76,26 @@ struct MultiplexDecoderAdapter::DecodedImageData {
|
||||
decoded_image_(decoded_image),
|
||||
decode_time_ms_(decode_time_ms),
|
||||
qp_(qp) {}
|
||||
|
||||
DecodedImageData() = delete;
|
||||
DecodedImageData(const DecodedImageData&) = delete;
|
||||
DecodedImageData& operator=(const DecodedImageData&) = delete;
|
||||
|
||||
const AlphaCodecStream stream_idx_;
|
||||
VideoFrame decoded_image_;
|
||||
const absl::optional<int32_t> decode_time_ms_;
|
||||
const absl::optional<uint8_t> qp_;
|
||||
|
||||
private:
|
||||
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(DecodedImageData);
|
||||
};
|
||||
|
||||
struct MultiplexDecoderAdapter::AugmentingData {
|
||||
AugmentingData(std::unique_ptr<uint8_t[]> augmenting_data, uint16_t data_size)
|
||||
: data_(std::move(augmenting_data)), size_(data_size) {}
|
||||
AugmentingData() = delete;
|
||||
AugmentingData(const AugmentingData&) = delete;
|
||||
AugmentingData& operator=(const AugmentingData&) = delete;
|
||||
|
||||
std::unique_ptr<uint8_t[]> data_;
|
||||
const uint16_t size_;
|
||||
|
||||
private:
|
||||
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AugmentingData);
|
||||
};
|
||||
|
||||
MultiplexDecoderAdapter::MultiplexDecoderAdapter(
|
||||
|
Reference in New Issue
Block a user