From aac41bd6780a152f51dfae7813d94dcc6f1dad49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Tue, 22 Sep 2020 09:59:47 +0200 Subject: [PATCH] Removes dead fallback code from rtcp::CompoundPacket. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:11925 Change-Id: I323ac8c5b3398e965b0cf571d1d46d34da42fdf6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185001 Reviewed-by: Danil Chapovalov Commit-Queue: Erik Språng Cr-Commit-Position: refs/heads/master@{#32171} --- modules/rtp_rtcp/source/rtcp_packet/compound_packet.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h b/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h index ca70c0ee20..8bee600692 100644 --- a/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h +++ b/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h @@ -28,13 +28,6 @@ class CompoundPacket : public RtcpPacket { void Append(std::unique_ptr 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 - void Append(T* packet) { - Append(std::make_unique(*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.