summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-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: