mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-08 16:50:48 +00:00
BUG: fix incorrect deletion of function blockers
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user