diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-19 16:59:40 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-19 17:07:46 +0400 |
commit | d30b4e9fb66f377295d8eeea8c1b1cf879aecdf6 (patch) | |
tree | a99079bda02a9d8dd5bd0d54666164f362314c52 /registry | |
parent | 704c9477039e37b4910db6aa8dd644751dd5e6a5 (diff) |
Get rid of size() == 0
Diffstat (limited to 'registry')
-rw-r--r-- | registry/tools/regcompare.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index c12e1c1f200f..5426d4cd81a0 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -262,11 +262,11 @@ bool Options_Impl::initOptions_Impl (std::vector< std::string > & rArgs) } } - if ( m_regName1.size() == 0 ) + if ( m_regName1.empty() ) { return badOption("missing", "-r1"); } - if ( m_regName2.size() == 0 ) + if ( m_regName2.empty() ) { return badOption("missing", "-r2"); } |