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/cmVisualStudio10TargetGenerator.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/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 80b8591..a6568f1 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2783,7 +2783,7 @@ void cmVisualStudio10TargetGenerator::WriteEvent( std::vector<cmCustomCommand> const& commands, std::string const& configName) { - if(commands.size() == 0) + if(commands.empty()) { return; } |