diff options
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index cbc2aa7..a406d3e 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -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(); } |