mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:49:08 +08:00
Use std::vector.empty() instead of checking for size() = 0
This commit is contained in:
parent
de288d5a4c
commit
1dd675a785
@ -91,7 +91,7 @@ namespace vcpkg::Commands::Search
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
if (args.command_arguments.size() == 0)
|
||||
if (args.command_arguments.empty())
|
||||
{
|
||||
for (const SourceParagraph& source_paragraph : source_paragraphs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user