From 61a2b1bd6cf5a2c4dfd4b5e21eab706fdb02ecdd Mon Sep 17 00:00:00 2001 From: aleloi Date: Thu, 23 Feb 2017 01:16:14 -0800 Subject: [PATCH] Micro change suggested by internal style tool. BUG=None TBR=philipel@webrtc.org NOTRY=True Review-Url: https://codereview.webrtc.org/2707973009 Cr-Commit-Position: refs/heads/master@{#16789} --- webrtc/modules/audio_mixer/frame_combiner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_mixer/frame_combiner.cc b/webrtc/modules/audio_mixer/frame_combiner.cc index 4e4fd56622..d08ed0f473 100644 --- a/webrtc/modules/audio_mixer/frame_combiner.cc +++ b/webrtc/modules/audio_mixer/frame_combiner.cc @@ -97,7 +97,7 @@ void FrameCombiner::Combine(const std::vector& mix_list, -1, 0, nullptr, samples_per_channel, sample_rate, AudioFrame::kUndefined, AudioFrame::kVadUnknown, number_of_channels); - if (mix_list.size() == 0) { + if (mix_list.empty()) { CombineZeroFrames(audio_frame_for_mixing); } else if (mix_list.size() == 1) { CombineOneFrame(mix_list.front(), audio_frame_for_mixing);