From 452b860f0eb977febdf0cc053d8491ffd1214438 Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Sun, 8 Sep 2024 00:20:21 -0400 Subject: [PATCH] Fix clang-tidy --- components/core/src/clp/NetworkReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();