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/cmLocalVisualStudio7Generator.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/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index a38a061..2445995 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -2331,7 +2331,7 @@ void cmLocalVisualStudio7Generator::ReadAndStoreExternalGUID( cmVS7XMLParser parser; parser.ParseFile(path); // if we can not find a GUID then we will generate one later - if(parser.GUID.size() == 0) + if(parser.GUID.empty()) { return; } |