diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-16 00:12:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-24 18:47:17 (GMT) |
commit | 524610f967e5289810a0d67a2942493d8f61d1dd (patch) | |
tree | 454aad5f601380dc9295296759d453653b5261ec /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 0e14c7ee6375fcaa975194557523f5a1a8686a8a (diff) | |
download | CMake-524610f967e5289810a0d67a2942493d8f61d1dd.zip CMake-524610f967e5289810a0d67a2942493d8f61d1dd.tar.gz CMake-524610f967e5289810a0d67a2942493d8f61d1dd.tar.bz2 |
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index f8d882c..2660d23 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -359,7 +359,7 @@ void cmGlobalVisualStudio7Generator ::OutputSLNFile(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators) { - if(generators.size() == 0) + if(generators.empty()) { return; } @@ -736,7 +736,7 @@ cmGlobalVisualStudio7Generator { const char* name = di->c_str(); std::string guid = this->GetGUID(name); - if(guid.size() == 0) + if(guid.empty()) { std::string m = "Target: "; m += target.GetName(); |