summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-16 01:17:32 +0100
committerStephen Kelly <steveire@gmail.com>2015-08-24 20:47:18 +0200
commit44ffb9cdb4329c5ed9b724659f234d26da336b5a (patch)
tree8f3d95ebc2c91465f071d37269b3c25f044fd5bb /Source/cmGlobalVisualStudioGenerator.cxx
parent8f89f8b1e9693abbc50d917c04846000bf14e189 (diff)
downloadcmake-44ffb9cdb4329c5ed9b724659f234d26da336b5a.tar.gz
Replace foo.size() pattern with !foo.empty().
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index 553d568baf..b0aa243dcd 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -81,7 +81,7 @@ bool cmGlobalVisualStudioGenerator::Compute()
{
std::vector<cmLocalGenerator*>& gen = it->second;
// add the ALL_BUILD to the first local generator of each project
- if(gen.size())
+ if(!gen.empty())
{
// Use no actual command lines so that the target itself is not
// considered always out of date.