clang tidy feedback addressed: updated src/IO/ForkWriteBuffer.cpp to use const reference

This commit is contained in:
Smita Kulkarni 2022-07-15 09:06:25 +02:00
parent 1dc2187f9c
commit 5a8d6ba0fc

View File

@ -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)
{