Removing unnecessary =default constructor for RtpPacketSendInfo.

This =default declaration has no effect other than to break designated
initialization in C++20 by making the type no longer an aggregate.

Bug: None
Change-Id: I20a4c285b7cbfed074291b9ee27c03aa29bada32
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/281960
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38573}
This commit is contained in:
Taylor Brandstetter
2022-11-07 12:56:21 -08:00
committed by WebRTC LUCI CQ
parent 2237eb07c3
commit e7e274f6da

View File

@ -231,9 +231,6 @@ enum class RtpPacketMediaType : size_t {
};
struct RtpPacketSendInfo {
public:
RtpPacketSendInfo() = default;
uint16_t transport_sequence_number = 0;
absl::optional<uint32_t> media_ssrc;
uint16_t rtp_sequence_number = 0; // Only valid if `media_ssrc` is set.