summaryrefslogtreecommitdiffstats
path: root/Source/cmXCode21Object.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-16 00:12:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:47:17 (GMT)
commit524610f967e5289810a0d67a2942493d8f61d1dd (patch)
tree454aad5f601380dc9295296759d453653b5261ec /Source/cmXCode21Object.cxx
parent0e14c7ee6375fcaa975194557523f5a1a8686a8a (diff)
downloadCMake-524610f967e5289810a0d67a2942493d8f61d1dd.zip
CMake-524610f967e5289810a0d67a2942493d8f61d1dd.tar.gz
CMake-524610f967e5289810a0d67a2942493d8f61d1dd.tar.bz2
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmXCode21Object.cxx')
-rw-r--r--Source/cmXCode21Object.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCode21Object.cxx b/Source/cmXCode21Object.cxx
index f30f700..3973540 100644
--- a/Source/cmXCode21Object.cxx
+++ b/Source/cmXCode21Object.cxx
@@ -22,7 +22,7 @@ cmXCode21Object::cmXCode21Object(PBXType ptype, Type type)
//----------------------------------------------------------------------------
void cmXCode21Object::PrintComment(std::ostream& out)
{
- if(this->Comment.size() == 0)
+ if(this->Comment.empty())
{
cmXCodeObject* n = this->GetObject("name");
if(n)