From 001479e0c814b99be06feed7f704da43ce47167e Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Thu, 24 Mar 2022 11:12:29 +0800 Subject: [PATCH] Fix lint --- .../src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp b/dbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp index 6f491615e15..9e6bee47015 100644 --- a/dbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp +++ b/dbms/src/Storages/DeltaMerge/DMVersionFilterBlockInputStream.cpp @@ -380,7 +380,7 @@ Block DMVersionFilterBlockInputStream::read(FilterPtr & res_filter, bool r else { Block res; - for (auto & c : header) + for (const auto & c : header) { auto & column = cur_raw_block.getByName(c.name); column.column = column.column->filter(filter, passed_count);