COMP: Simplify logic and remove sun compile error

This commit is contained in:
Andy Cedilnik 2005-08-26 16:20:26 -04:00
parent af7221b015
commit bd9852e50f
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream
{
ostr << "_" << m_SubmitIndex;
}
if ( *m_CTest->GetCurrentTag().c_str() )
if ( !m_CTest->GetCurrentTag().empty() )
{
ostr << "_" << m_CTest->GetCurrentTag();
}