summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorIan Scott <ian.m.scott@stud.man.ac.uk>2001-07-30 11:18:38 (GMT)
committerIan Scott <ian.m.scott@stud.man.ac.uk>2001-07-30 11:18:38 (GMT)
commitb24861d895f96040e35c94944cc3866e78e7781c (patch)
tree1b16733e3f9ebff6730d7bf5fba3a0ae40f7cc04 /Source/cmMakeDepend.cxx
parent8bad4180c7908426b50809f5ba5948e408330cee (diff)
downloadCMake-b24861d895f96040e35c94944cc3866e78e7781c.zip
CMake-b24861d895f96040e35c94944cc3866e78e7781c.tar.gz
CMake-b24861d895f96040e35c94944cc3866e78e7781c.tar.bz2
Removed the Uniquification of the include and link directory list in FinalPass,
and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories a set rather than vector
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index 5a18e07..6416b98 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -90,9 +90,9 @@ void cmMakeDepend::SetMakefile(const cmMakefile* makefile)
m_Makefile->m_ComplainFileRegularExpression.c_str());
// Now extract any include paths from the makefile flags
- const std::vector<std::string>& includes =
+ const std::set<std::string>& includes =
m_Makefile->GetIncludeDirectories();
- for(std::vector<std::string>::const_iterator j = includes.begin();
+ for(std::set<std::string>::const_iterator j = includes.begin();
j != includes.end(); ++j)
{
std::string path = *j;