summaryrefslogtreecommitdiff
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 00:31:49 +0100
committerStephen Kelly <steveire@gmail.com>2015-01-18 14:25:24 +0100
commit930bd4781694ea85a876c08c34a2dd8243688920 (patch)
tree399ea4dd7a803f40ea986dc58eaa12c61ab923b6 /Source/cmTryRunCommand.cxx
parentd92887efabad6a91e221588d0dc7a0bffd91a9f7 (diff)
downloadcmake-930bd4781694ea85a876c08c34a2dd8243688920.tar.gz
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 8f2deeb46c..a2f079a983 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -140,7 +140,7 @@ bool cmTryRunCommand
// now try running the command if it compiled
if (!res)
{
- if (this->OutputFile.size() == 0)
+ if (this->OutputFile.empty())
{
cmSystemTools::Error(this->FindErrorMessage.c_str());
}