From e01bae24a53d6d64f331d7d6b59f208f2a6241de Mon Sep 17 00:00:00 2001 From: "henrik.lundin@webrtc.org" Date: Mon, 9 Feb 2015 13:21:19 +0000 Subject: [PATCH] Fixing a nit This is a follow-up for https://webrtc-codereview.appspot.com/33209004/ where a post-commit nit was provided. R=tommi@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35039004 Cr-Commit-Position: refs/heads/master@{#8295} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8295 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../audio_coding/main/acm2/audio_coding_module_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc b/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc index 56cdd2ed28..fc1191a45f 100644 --- a/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc +++ b/webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc @@ -1682,7 +1682,7 @@ int AudioCodingModuleImpl::GetAudioDecoder(const CodecInst& codec, int codec_id, void AudioCodingModuleImpl::SetCngPayloadType(int sample_rate_hz, int payload_type) { - for (auto codec : codecs_) { + for (auto* codec : codecs_) { if (codec) { codec->SetCngPt(sample_rate_hz, payload_type); } @@ -1690,7 +1690,7 @@ void AudioCodingModuleImpl::SetCngPayloadType(int sample_rate_hz, } void AudioCodingModuleImpl::EnableCopyRedForAllCodecs(bool enable) { - for (auto codec : codecs_) { + for (auto* codec : codecs_) { if (codec) { codec->EnableCopyRed(enable, red_pltype_); }