Skip to content

Commit

Permalink
fix clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
vdimir committed Nov 10, 2023
1 parent b726455 commit 4de15e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Analyzer/Passes/LogicalExpressionOptimizerPass.cpp
Expand Up @@ -391,7 +391,7 @@ class LogicalExpressionOptimizerVisitor : public InDepthQueryTreeVisitorWithCont
else if (and_arguments.size() == 1)
{
/// Replace AND with a single argument with the argument itself
new_or_operands.emplace_back(std::move(and_arguments[0]));
new_or_operands.emplace_back(and_arguments[0]);
}
}
else
Expand All @@ -415,7 +415,6 @@ class LogicalExpressionOptimizerVisitor : public InDepthQueryTreeVisitorWithCont
function_node.resolveAsFunction(or_function_resolver);
}

private:
bool is_inside_on_section = false;
std::deque<const JoinNode *> join_stack;
};
Expand Down

0 comments on commit 4de15e3

Please sign in to comment.