mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
clang tidy feedback addressed: updated src/IO/ForkWriteBuffer.cpp to use const reference
This commit is contained in:
parent
1dc2187f9c
commit
5a8d6ba0fc
@ -36,7 +36,7 @@ void ForkWriteBuffer::nextImpl()
|
||||
|
||||
try
|
||||
{
|
||||
for (auto write_buffer :sources | std::views::reverse)
|
||||
for (const WriteBufferPtr & write_buffer : sources | std::views::reverse)
|
||||
{
|
||||
if (write_buffer.get() != first_buffer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user