diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-07-11 18:20:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-07-11 18:20:39 (GMT) |
commit | ed7a32ebe437c41f995dcc46ea0037e821daa25f (patch) | |
tree | 7aa4a39e5e545f6c7374659a898b8e0352ef5048 /Source/cmMakefile.cxx | |
parent | 694cff3cf9fd41b176b60fcf9fe868c6819d04fd (diff) | |
download | CMake-ed7a32ebe437c41f995dcc46ea0037e821daa25f.zip CMake-ed7a32ebe437c41f995dcc46ea0037e821daa25f.tar.gz CMake-ed7a32ebe437c41f995dcc46ea0037e821daa25f.tar.bz2 |
BUG: fix for compile with hp
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 90e78d2..496704a 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -126,7 +126,7 @@ cmMakefile::~cmMakefile() delete d->second; } } - std::list<cmFunctionBlocker *>::const_iterator pos; + std::list<cmFunctionBlocker *>::iterator pos; for (pos = m_FunctionBlockers.begin(); pos != m_FunctionBlockers.end(); pos = m_FunctionBlockers.begin()) { @@ -275,7 +275,7 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external) m_cmCurrentListFile = filename; } // loop over current function blockers and record them - std::list<cmFunctionBlocker *>::const_iterator pos; + std::list<cmFunctionBlocker *>::iterator pos; for (pos = m_FunctionBlockers.begin(); pos != m_FunctionBlockers.end(); ++pos) { @@ -354,7 +354,7 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external) if (filename) { // loop over all function blockers to see if any block this command - std::list<cmFunctionBlocker *>::const_iterator pos; + std::list<cmFunctionBlocker *>::iterator pos; for (pos = m_FunctionBlockers.begin(); pos != m_FunctionBlockers.end(); ++pos) { @@ -1232,7 +1232,7 @@ bool cmMakefile::IsFunctionBlocked(const char *name, } // loop over all function blockers to see if any block this command - std::list<cmFunctionBlocker *>::const_iterator pos; + std::list<cmFunctionBlocker *>::iterator pos; std::vector<std::string> expandedArguments = args; for(std::vector<std::string>::iterator i = expandedArguments.begin(); i != expandedArguments.end(); ++i) |