Kusto-phase1: use empty to check vector instead of size

This commit is contained in:
Yong Wang 2022-09-06 22:28:25 -07:00
parent c3a0c480a6
commit a0735a5816

View File

@ -247,7 +247,7 @@ bool ParserKQLQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
}
}
if (operation_pos.size() > 0)
if (!operation_pos.empty())
{
for (auto i = 0; i< kql_parser[last_op].backspace_steps; ++i)
--last_pos;