COMP: Simplify logic and remove sun compile error

This commit is contained in:
Andy Cedilnik 2005-08-26 16:20:26 -04:00
父節點 af7221b015
當前提交 bd9852e50f

查看文件

@ -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();
}