diff --git a/src/Functions/trap.cpp b/src/Functions/trap.cpp index 505e16411cc..7cd7d7c8c00 100644 --- a/src/Functions/trap.cpp +++ b/src/Functions/trap.cpp @@ -1,4 +1,4 @@ -#if 0 +#if 1 #include #include @@ -61,7 +61,8 @@ public: return std::make_shared(); } - [[clang::optnone]] ColumnPtr executeImpl(ColumnsWithTypeAndName & block, const DataTypePtr & result_type, size_t input_rows_count) const override + [[clang::optnone]] + ColumnPtr executeImpl(const ColumnsWithTypeAndName & block, const DataTypePtr & result_type, size_t input_rows_count) const override { if (const ColumnConst * column = checkAndGetColumnConst(block[0].column.get())) {