diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-16 01:10:07 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-24 20:47:17 +0200 |
commit | 0e14c7ee6375fcaa975194557523f5a1a8686a8a (patch) | |
tree | 716756d302add87c52e65bd79d9772c4d1b059ef /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | ddb7f280ce4e7a76dc66c53e933df9e11ee35e20 (diff) | |
download | cmake-0e14c7ee6375fcaa975194557523f5a1a8686a8a.tar.gz |
Replace 'foo.size() > 0' pattern with !foo.empty().
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index c38a35aed4..553d568baf 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -265,7 +265,7 @@ cmGlobalVisualStudioGenerator { std::vector<std::string> filenames; this->GetFilesReplacedDuringGenerate(filenames); - if (filenames.size() > 0) + if (!filenames.empty()) { // Convert vector to semi-colon delimited string of filenames: std::string projects; |