Commit bd9852e5 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Simplify logic and remove sun compile error

parent af7221b0
...@@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream ...@@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream
{ {
ostr << "_" << m_SubmitIndex; ostr << "_" << m_SubmitIndex;
} }
if ( *m_CTest->GetCurrentTag().c_str() ) if ( !m_CTest->GetCurrentTag().empty() )
{ {
ostr << "_" << m_CTest->GetCurrentTag(); ostr << "_" << m_CTest->GetCurrentTag();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment