ENH: fix it to work with stl debug mode on mac
This commit is contained in:
parent
b0bc59f709
commit
9442cd33ba
|
@ -833,8 +833,9 @@ void cmCTestBuildHandler::ProcessBuffer(const char* data, int length,
|
|||
{
|
||||
// This is not an error or warning.
|
||||
// So, figure out if this is a post-context line
|
||||
if ( this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
|
||||
this->PostContextCount < this->MaxPostContext )
|
||||
if ( this->ErrorsAndWarnings.size() &&
|
||||
this->LastErrorOrWarning != this->ErrorsAndWarnings.end() &&
|
||||
this->PostContextCount < this->MaxPostContext )
|
||||
{
|
||||
this->PostContextCount ++;
|
||||
this->LastErrorOrWarning->PostContext += line;
|
||||
|
|
Loading…
Reference in New Issue