ENH: try to fix hp build problem

This commit is contained in:
Bill Hoffman 2005-12-09 23:04:33 -05:00
parent 63a5effc7f
commit 90bdb216a4
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ bool cmDependsC::WriteDependencies(const char *src, const char *obj,
{ {
fileIt->second->m_Used=true; fileIt->second->m_Used=true;
dependencies.insert(fullName); dependencies.insert(fullName);
for (std::list<UnscannedEntry>::const_iterator incIt= for (std::vector<UnscannedEntry>::const_iterator incIt=
fileIt->second->m_UnscannedEntries.begin(); fileIt->second->m_UnscannedEntries.begin();
incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt) incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt)
{ {
@ -282,7 +282,7 @@ void cmDependsC::WriteCacheFile() const
{ {
cacheOut<<fileIt->first.c_str()<<std::endl; 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.begin();
incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt) incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt)
{ {

View File

@ -78,7 +78,7 @@ public:
struct cmIncludeLines struct cmIncludeLines
{ {
cmIncludeLines(): m_Used(false) {} cmIncludeLines(): m_Used(false) {}
std::list<UnscannedEntry> m_UnscannedEntries; std::vector<UnscannedEntry> m_UnscannedEntries;
bool m_Used; bool m_Used;
}; };
protected: protected: