summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXAccessControlList.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-16 00:17:32 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:47:18 (GMT)
commit44ffb9cdb4329c5ed9b724659f234d26da336b5a (patch)
tree8f3d95ebc2c91465f071d37269b3c25f044fd5bb /Source/CPack/WiX/cmWIXAccessControlList.cxx
parent8f89f8b1e9693abbc50d917c04846000bf14e189 (diff)
downloadCMake-44ffb9cdb4329c5ed9b724659f234d26da336b5a.zip
CMake-44ffb9cdb4329c5ed9b724659f234d26da336b5a.tar.gz
CMake-44ffb9cdb4329c5ed9b724659f234d26da336b5a.tar.bz2
Replace foo.size() pattern with !foo.empty().
Diffstat (limited to 'Source/CPack/WiX/cmWIXAccessControlList.cxx')
-rw-r--r--Source/CPack/WiX/cmWIXAccessControlList.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/WiX/cmWIXAccessControlList.cxx b/Source/CPack/WiX/cmWIXAccessControlList.cxx
index aeec968..fc0d3d3 100644
--- a/Source/CPack/WiX/cmWIXAccessControlList.cxx
+++ b/Source/CPack/WiX/cmWIXAccessControlList.cxx
@@ -71,7 +71,7 @@ void cmWIXAccessControlList::CreatePermissionElement(
this->SourceWriter.BeginElement("Permission");
this->SourceWriter.AddAttribute("User", user);
- if(domain.size())
+ if(!domain.empty())
{
this->SourceWriter.AddAttribute("Domain", domain);
}