mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Make tidy happy
This commit is contained in:
parent
56e0dd0ab0
commit
e1851987d8
@ -78,7 +78,7 @@ bool ASTQueryWithOutput::resetOutputASTIfExist(IAST & ast)
|
||||
{
|
||||
if (p)
|
||||
{
|
||||
if (auto it = std::find(ast_with_output->children.begin(), ast_with_output->children.end(), p);
|
||||
if (auto * it = std::find(ast_with_output->children.begin(), ast_with_output->children.end(), p);
|
||||
it != ast_with_output->children.end())
|
||||
ast_with_output->children.erase(it);
|
||||
p.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user