Fix clang-tidy

This commit is contained in:
Alexey Milovidov 2021-05-09 20:02:22 +03:00
parent ce4bf58029
commit ab94a559da

View File

@ -171,7 +171,7 @@ void ConvertStringsToEnumMatcher::visit(ASTFunction & function_node, Data & data
return; return;
Array array_to = literal_to->value.get<Array>(); Array array_to = literal_to->value.get<Array>();
if (array_to.size() == 0) if (array_to.empty())
return; return;
bool to_strings = checkSameType(array_to, "String"); bool to_strings = checkSameType(array_to, "String");