Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc

Issue 2050273002: Remove unnecessary redefinition of PacketLists in rtp_fec_unittest. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc
index 80f961bd1eb99876c3879e8ed70195830bee9eaf..228c19fe4c6334ca6325fc00f016faa19574e343 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc
@@ -26,9 +26,9 @@ const uint8_t kTransportOverhead = 28;
// Maximum number of media packets used in the FEC (RFC 5109).
const uint8_t kMaxNumberMediaPackets = ForwardErrorCorrection::kMaxMediaPackets;
-typedef std::list<ForwardErrorCorrection::Packet*> PacketList;
-typedef std::list<ForwardErrorCorrection::ReceivedPacket*> ReceivedPacketList;
-typedef std::list<ForwardErrorCorrection::RecoveredPacket*> RecoveredPacketList;
+using PacketList = ForwardErrorCorrection::PacketList;
+using ReceivedPacketList = ForwardErrorCorrection::ReceivedPacketList;
+using RecoveredPacketList = ForwardErrorCorrection::RecoveredPacketList;
template <typename T> void ClearList(std::list<T*>* my_list) {
T* packet = NULL;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698