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

This commit is contained in:
Stephen Kelly
2015-01-15 00:59:13 +01:00
parent 930bd47816
commit 607e19384f
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ void cmCTestMultiProcessHandler::RunTests()
}
this->TestHandler->SetMaxIndex(this->FindMaxIndex());
this->StartNextTests();
while(this->Tests.size() != 0)
while(!this->Tests.empty())
{
if(this->StopTimePassed)
{