BUG: fix incorrect deletion of function blockers

This commit is contained in:
Bill Hoffman 2001-08-30 17:32:48 -04:00
parent 22025945c8
commit 3091e9b8f6
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ cmMakefile::~cmMakefile()
}
std::set<cmFunctionBlocker *>::const_iterator pos;
for (pos = m_FunctionBlockers.begin();
pos != m_FunctionBlockers.end(); ++pos)
pos != m_FunctionBlockers.end(); pos = m_FunctionBlockers.begin())
{
cmFunctionBlocker* b = *pos;
m_FunctionBlockers.erase(*pos);