mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
Replace foo.size() pattern with !foo.empty().
This commit is contained in:
@@ -145,12 +145,12 @@ bool cmCreateTestSourceList
|
||||
" },\n";
|
||||
numTests++;
|
||||
}
|
||||
if(extraInclude.size())
|
||||
if(!extraInclude.empty())
|
||||
{
|
||||
this->Makefile->AddDefinition("CMAKE_TESTDRIVER_EXTRA_INCLUDES",
|
||||
extraInclude.c_str());
|
||||
}
|
||||
if(function.size())
|
||||
if(!function.empty())
|
||||
{
|
||||
this->Makefile->AddDefinition("CMAKE_TESTDRIVER_ARGVC_FUNCTION",
|
||||
function.c_str());
|
||||
|
||||
Reference in New Issue
Block a user