Fix ClangTidy build

This commit is contained in:
Dmitry Novik 2022-12-21 00:22:46 +00:00
parent 4793412887
commit a252f138cf

View File

@ -338,7 +338,7 @@ static bool isCompilableFunction(const ActionsDAG::Node & node, const std::unord
if (node.type != ActionsDAG::ActionType::FUNCTION)
return false;
auto & function = *node.function_base;
const auto & function = *node.function_base;
IFunction::ShortCircuitSettings settings;
if (function.isShortCircuit(settings, node.children.size()))