Fix clang tidy compile error, remove std::move for const getDeletedRowsPtr()

This commit is contained in:
jianmei zhang 2022-07-12 15:04:00 +08:00
parent 8b1114fa60
commit 0793add9b5

View File

@ -1234,7 +1234,7 @@ MergeTreeDataPartDeletedMask::DeletedRows IMergeTreeDataPart::getDeletedMask() c
data_part_storage->getDiskPath(), deleted_mask.name, name, deleted_mask.getDeletedRows().size(), rows_count);
}
return std::move(deleted_mask.getDeletedRowsPtr());
return deleted_mask.getDeletedRowsPtr();
}
void IMergeTreeDataPart::writeDeletedMask(MergeTreeDataPartDeletedMask::DeletedRows new_mask) const