From 90bdb216a4b782696e72e82e9af0fa2fda7991c8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 9 Dec 2005 23:04:33 -0500 Subject: ENH: try to fix hp build problem --- Source/cmDependsC.cxx | 4 ++-- Source/cmDependsC.h | 2 +- 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::const_iterator incIt= + for (std::vector::const_iterator incIt= fileIt->second->m_UnscannedEntries.begin(); incIt!=fileIt->second->m_UnscannedEntries.end(); ++incIt) { @@ -282,7 +282,7 @@ void cmDependsC::WriteCacheFile() const { cacheOut<first.c_str()<::const_iterator + for (std::vector::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 m_UnscannedEntries; + std::vector m_UnscannedEntries; bool m_Used; }; protected: -- cgit v0.12