Replace 'foo.size() == 0' pattern with foo.empty().

This commit is contained in:
Stephen Kelly
2015-01-15 00:31:49 +01:00
parent d92887efab
commit 930bd47816
35 changed files with 72 additions and 72 deletions

View File

@@ -251,7 +251,7 @@ void cmDependsJavaParserHelper::EndClass()
void cmDependsJavaParserHelper::PrintClasses()
{
if ( this->ClassStack.size() == 0 )
if (this->ClassStack.empty())
{
std::cerr << "Error when parsing. No classes on class stack" << std::endl;
abort();