diff options
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"); } |