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