[fix](noexcept) Remove incorrect noexcept #35230

This commit is contained in:
zhiqiang
2024-05-23 11:39:51 +08:00
committed by yiguolei
parent 98b2bda660
commit 682d72bf4d
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ std::pair<const ColumnPtr&, bool> unpack_if_const(const ColumnPtr& ptr) noexcept
void default_preprocess_parameter_columns(ColumnPtr* columns, const bool* col_const,
const std::initializer_list<size_t>& parameters,
Block& block, const ColumnNumbers& arg_indexes) noexcept {
Block& block, const ColumnNumbers& arg_indexes) {
if (std::all_of(parameters.begin(), parameters.end(),
[&](size_t const_index) -> bool { return col_const[const_index]; })) {
// only need to avoid expanding when all parameters are const

View File

@ -83,7 +83,7 @@ std::pair<const ColumnPtr&, bool> unpack_if_const(const ColumnPtr&) noexcept;
*/
void default_preprocess_parameter_columns(ColumnPtr* columns, const bool* col_const,
const std::initializer_list<size_t>& parameters,
Block& block, const ColumnNumbers& arg_indexes) noexcept;
Block& block, const ColumnNumbers& arg_indexes);
/** ColumnConst contains another column with single element,
* but looks like a column with arbitrary amount of same elements.