BUG: fix incorrect deletion of function blockers
This commit is contained in:
parent
22025945c8
commit
3091e9b8f6
|
@ -147,7 +147,7 @@ cmMakefile::~cmMakefile()
|
||||||
}
|
}
|
||||||
std::set<cmFunctionBlocker *>::const_iterator pos;
|
std::set<cmFunctionBlocker *>::const_iterator pos;
|
||||||
for (pos = m_FunctionBlockers.begin();
|
for (pos = m_FunctionBlockers.begin();
|
||||||
pos != m_FunctionBlockers.end(); ++pos)
|
pos != m_FunctionBlockers.end(); pos = m_FunctionBlockers.begin())
|
||||||
{
|
{
|
||||||
cmFunctionBlocker* b = *pos;
|
cmFunctionBlocker* b = *pos;
|
||||||
m_FunctionBlockers.erase(*pos);
|
m_FunctionBlockers.erase(*pos);
|
||||||
|
|
Loading…
Reference in New Issue