summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-30 21:32:48 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-30 21:32:48 (GMT)
commit3091e9b8f619a5402a7390338e2082d4e20a3dbf (patch)
tree2907d1649482dfebc2c10bcfb02e4f6717ba8ce0 /Source/cmMakefile.cxx
parent22025945c89fd1fce20f1c76bee61fd473fe5716 (diff)
downloadCMake-3091e9b8f619a5402a7390338e2082d4e20a3dbf.zip
CMake-3091e9b8f619a5402a7390338e2082d4e20a3dbf.tar.gz
CMake-3091e9b8f619a5402a7390338e2082d4e20a3dbf.tar.bz2
BUG: fix incorrect deletion of function blockers
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 0e9b41c..2dbe07d 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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);