diff --git a/src/Interpreters/JIT/compileFunction.cpp b/src/Interpreters/JIT/compileFunction.cpp index 4dac65046a7..9d4f62fc873 100644 --- a/src/Interpreters/JIT/compileFunction.cpp +++ b/src/Interpreters/JIT/compileFunction.cpp @@ -201,7 +201,7 @@ static void compileFunction(llvm::Module & module, const IFunctionBase & functio for (size_t i = 0; i < arg_types.size(); ++i) { auto & column = columns[i]; - auto & type = arg_types[i]; + const auto & type = arg_types[i]; auto * value = b.CreateLoad(toNativeType(b, removeNullable(type)), column.data); if (!type->isNullable())