Kusto-phase1: Fixed style

This commit is contained in:
Yong Wang 2022-06-11 10:33:38 -07:00
parent b3ebac353f
commit f4db644498

View File

@ -47,9 +47,9 @@ std::pair<String, String> ParserKQLSummarize::removeLastWord(String input)
{
return std::make_pair(first_part, temp[temp.size() - 1]);
}
if (temp.size() > 0)
if (!temp.empty())
{
return std::make_pair(firstPart, temp[temp.size() - 1]);
return std::make_pair(first_part, temp[temp.size() - 1]);
}
return std::make_pair("", "");