diff --git a/components/core/src/clp/NetworkReader.cpp b/components/core/src/clp/NetworkReader.cpp index 030e5090c..6994be5b3 100644 --- a/components/core/src/clp/NetworkReader.cpp +++ b/components/core/src/clp/NetworkReader.cpp @@ -129,7 +129,7 @@ NetworkReader::NetworkReader( m_buffer_pool_size{std::max(cMinBufferPoolSize, buffer_pool_size)}, m_buffer_size{std::max(cMinBufferSize, buffer_size)} { for (size_t i = 0; i < m_buffer_pool_size; ++i) { - m_buffer_pool.emplace_back(Array(m_buffer_size)); + m_buffer_pool.emplace_back(m_buffer_size); } m_downloader_thread = std::make_unique(*this, offset, disable_caching); m_downloader_thread->start();