Removes dead fallback code from rtcp::CompoundPacket.
Bug: webrtc:11925 Change-Id: I323ac8c5b3398e965b0cf571d1d46d34da42fdf6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185001 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32171}
This commit is contained in:
parent
cbe6e8a258
commit
aac41bd678
@ -28,13 +28,6 @@ class CompoundPacket : public RtcpPacket {
|
||||
|
||||
void Append(std::unique_ptr<RtcpPacket> packet);
|
||||
|
||||
// Fallback for call-sites that have not yet migrated to passing a unique_ptr.
|
||||
// TODO(bugs.webrtc.org/11925): Remove when all usage is gone.
|
||||
template <typename T>
|
||||
void Append(T* packet) {
|
||||
Append(std::make_unique<T>(*packet));
|
||||
}
|
||||
|
||||
// Size of this packet in bytes (i.e. total size of nested packets).
|
||||
size_t BlockLength() const override;
|
||||
// Returns true if all calls to Create succeeded.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user