diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-15 00:31:49 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-18 14:25:24 +0100 |
commit | 930bd4781694ea85a876c08c34a2dd8243688920 (patch) | |
tree | 399ea4dd7a803f40ea986dc58eaa12c61ab923b6 /Source/cmFindBase.cxx | |
parent | d92887efabad6a91e221588d0dc7a0bffd91a9f7 (diff) | |
download | cmake-930bd4781694ea85a876c08c34a2dd8243688920.tar.gz |
Replace 'foo.size() == 0' pattern with foo.empty().
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r-- | Source/cmFindBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index 013724e5f6..69991d53a9 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -152,10 +152,10 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn) } } - if(this->VariableDocumentation.size() == 0) + if(this->VariableDocumentation.empty()) { this->VariableDocumentation = "Where can "; - if(this->Names.size() == 0) + if(this->Names.empty()) { this->VariableDocumentation += "the (unknown) library be found"; } |