forked from OSchip/llvm-project
[llvm-nm] Prefer empty() over size() == 0.
Thanks to David Blaikie for pointing this out! llvm-svn: 259938
This commit is contained in:
parent
d535365794
commit
da57013776
|
@ -1267,7 +1267,7 @@ int main(int argc, char **argv) {
|
|||
PrintAddress = false;
|
||||
if (OutputFormat == sysv || SizeSort)
|
||||
PrintSize = true;
|
||||
if (InputFilenames.size() == 0)
|
||||
if (InputFilenames.empty())
|
||||
InputFilenames.push_back("a.out");
|
||||
if (InputFilenames.size() > 1)
|
||||
MultipleFiles = true;
|
||||
|
|
Loading…
Reference in New Issue