Use empty() instead of size() == 0

This commit is contained in:
Alexander Karatarakis 2018-01-23 15:28:55 -08:00
parent 9d85ed4c17
commit bff50291c2

View File

@ -58,7 +58,7 @@ namespace vcpkg::Commands::List
return lhs->package.displayname() < rhs->package.displayname();
});
if (args.command_arguments.size() == 0)
if (args.command_arguments.empty())
{
for (const StatusParagraph* status_paragraph : installed_packages)
{