Fixed error for missing explicit class initialization error on iOS buildbots

TBR=henrik.lundin@webrtc.org

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2799813002
Cr-Commit-Position: refs/heads/master@{#17549}
This commit is contained in:
peah
2017-04-05 15:10:34 -07:00
committed by Commit bot
parent 7343c8e09f
commit 5ac18af71b

View File

@ -26,7 +26,8 @@ RenderBuffer::RenderBuffer(Aec3Optimization optimization,
spectrum_buffer_(num_partitions, std::array<float, kFftLengthBy2Plus1>()),
spectral_sums_(num_ffts_for_spectral_sums.size(),
std::array<float, kFftLengthBy2Plus1>()),
last_block_(num_bands, std::vector<float>(kBlockSize, 0.f)) {
last_block_(num_bands, std::vector<float>(kBlockSize, 0.f)),
fft_() {
// Current implementation only allows a maximum of one spectral sum lengths.
RTC_DCHECK_EQ(1, num_ffts_for_spectral_sums.size());
spectral_sums_length_ = num_ffts_for_spectral_sums[0];