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/cmLocalVisualStudio6Generator.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/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 29e1034..5b78f0d 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -988,7 +988,7 @@ void cmLocalVisualStudio6Generator { std::string lpath = this->ConvertToOutputFormat(libPath.c_str(), SHELL); - if(lpath.size() == 0) + if(lpath.empty()) { lpath = "."; } @@ -1021,7 +1021,7 @@ void cmLocalVisualStudio6Generator { std::string lpath = this->ConvertToOutputFormat(exePath.c_str(), SHELL); - if(lpath.size() == 0) + if(lpath.empty()) { lpath = "."; } @@ -1062,7 +1062,7 @@ void cmLocalVisualStudio6Generator } std::string lpath = this->ConvertToOutputFormat(path.c_str(), SHELL); - if(lpath.size() == 0) + if(lpath.empty()) { lpath = "."; } |