mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 02:57:56 +08:00
Use empty() instead of size() == 0
This commit is contained in:
parent
9d85ed4c17
commit
bff50291c2
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user