summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-16 01:12:53 +0100
committerStephen Kelly <steveire@gmail.com>2015-08-24 20:47:17 +0200
commit524610f967e5289810a0d67a2942493d8f61d1dd (patch)
tree454aad5f601380dc9295296759d453653b5261ec /Source/cmGlobalVisualStudio71Generator.cxx
parent0e14c7ee6375fcaa975194557523f5a1a8686a8a (diff)
downloadcmake-524610f967e5289810a0d67a2942493d8f61d1dd.tar.gz
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index f7b64708eb..607642c61a 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -212,7 +212,7 @@ cmGlobalVisualStudio71Generator
{
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();