summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-12-10 04:04:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-12-10 04:04:33 (GMT)
commit90bdb216a4b782696e72e82e9af0fa2fda7991c8 (patch)
treedcf1e5137a7bd1146a24c029cd2b3ccfc1daa190
parent63a5effc7f6e3616ba3f65591205a01ad747dc8f (diff)
downloadCMake-90bdb216a4b782696e72e82e9af0fa2fda7991c8.zip
CMake-90bdb216a4b782696e72e82e9af0fa2fda7991c8.tar.gz
CMake-90bdb216a4b782696e72e82e9af0fa2fda7991c8.tar.bz2
ENH: try to fix hp build problem
-rw-r--r--Source/cmDependsC.cxx4
-rw-r--r--Source/cmDependsC.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index a98458b..29254e6 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -159,7 +159,7 @@ bool cmDependsC::WriteDependencies(const char *src, const char *obj,
{
fileIt->second->m_Used=true;
dependencies.insert(fullName);
- for (std::list<UnscannedEntry>::const_iterator incIt=
+ for (std::vector<UnscannedEntry>::const_iterator incIt=
fileIt->second->m_UnscannedEntries.begin();
incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt)
{
@@ -282,7 +282,7 @@ void cmDependsC::WriteCacheFile() const
{
cacheOut<<fileIt->first.c_str()<<std::endl;
- for (std::list<UnscannedEntry>::const_iterator
+ for (std::vector<UnscannedEntry>::const_iterator
incIt=fileIt->second->m_UnscannedEntries.begin();
incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt)
{
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h
index ec34934..687131d 100644
--- a/Source/cmDependsC.h
+++ b/Source/cmDependsC.h
@@ -78,7 +78,7 @@ public:
struct cmIncludeLines
{
cmIncludeLines(): m_Used(false) {}
- std::list<UnscannedEntry> m_UnscannedEntries;
+ std::vector<UnscannedEntry> m_UnscannedEntries;
bool m_Used;
};
protected: