summaryrefslogtreecommitdiff
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 23:13:44 +0100
committerStephen Kelly <steveire@gmail.com>2015-01-18 14:25:24 +0100
commitaa773035b7f4a1aefd860d0b9e80f134bd4a4547 (patch)
tree3970a39971ed66dd72c07f227464ce2051f28ce2 /Source/cmInstallTargetGenerator.cxx
parent64592633773004df83cdd790b9cb1838503ca854 (diff)
downloadcmake-aa773035b7f4a1aefd860d0b9e80f134bd4a4547.tar.gz
Replace !foo.size() pattern with foo.empty().
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 8701b73a68..6d69f545cb 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -523,7 +523,7 @@ cmInstallTargetGenerator
std::string installNameTool =
this->Target->GetMakefile()->GetSafeDefinition("CMAKE_INSTALL_NAME_TOOL");
- if(!installNameTool.size())
+ if(installNameTool.empty())
{
return;
}