mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Replace 'foo.size() == 0' pattern with foo.empty().
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user