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

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

Issue 2080553003: Style updates for ForwardErrorCorrection and related classes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Re-add explicit constructors. 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
Index: webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc
diff --git a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc
index 83bd2849df4304d26c27335360830ec8856f0193..bef94cfd0dab5318f441483f66ba4aab7db49e49 100644
--- a/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc
+++ b/webrtc/modules/rtp_rtcp/source/fec_receiver_impl.cc
@@ -238,8 +238,7 @@ int32_t FecReceiverImpl::ProcessReceivedFec() {
assert(received_packet_list_.empty());
}
// Send any recovered media packets to VCM.
- ForwardErrorCorrection::RecoveredPacketList::iterator it =
- recovered_packet_list_.begin();
+ auto it = recovered_packet_list_.begin();
danilchap 2016/06/29 10:31:52 make one more step and use c++11 loop: for (auto*
brandtr 2016/06/29 14:24:10 Done.
for (; it != recovered_packet_list_.end(); ++it) {
if ((*it)->returned) // Already sent to the VCM and the jitter buffer.
continue;

Powered by Google App Engine
This is Rietveld 408576698