remove unused code and adjust clang-tidy checks (#25405)

remove unused code and adjust clang-tidy checks
This commit is contained in:
Pxl
2023-10-13 16:27:37 +08:00
committed by GitHub
parent 1a25bb65b0
commit f4e2eb6564
17 changed files with 61 additions and 108 deletions

View File

@ -347,12 +347,6 @@ size_t ColumnStruct::allocated_bytes() const {
return res;
}
void ColumnStruct::protect() {
for (auto& column : columns) {
column->protect();
}
}
void ColumnStruct::for_each_subcolumn(ColumnCallback callback) {
for (auto& column : columns) {
callback(column);