summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.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/cmVisualStudioGeneratorOptions.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/cmVisualStudioGeneratorOptions.cxx')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx
index abd350e..bd4eb69 100644
--- a/Source/cmVisualStudioGeneratorOptions.cxx
+++ b/Source/cmVisualStudioGeneratorOptions.cxx
@@ -274,7 +274,7 @@ cmVisualStudioGeneratorOptions
{
// if there are configuration specific flags, then
// use the configuration specific tag for PreprocessorDefinitions
- if(this->Configuration.size())
+ if(!this->Configuration.empty())
{
fout << prefix;
this->TargetGenerator->WritePlatformConfigTag(
@@ -346,7 +346,7 @@ cmVisualStudioGeneratorOptions
m != this->FlagMap.end(); ++m)
{
fout << indent;
- if(this->Configuration.size())
+ if(!this->Configuration.empty())
{
this->TargetGenerator->WritePlatformConfigTag(
m->first.c_str(),
@@ -398,7 +398,7 @@ cmVisualStudioGeneratorOptions
if(this->Version >= cmGlobalVisualStudioGenerator::VS10)
{
fout << prefix;
- if(this->Configuration.size())
+ if(!this->Configuration.empty())
{
this->TargetGenerator->WritePlatformConfigTag(
"AdditionalOptions",