summaryrefslogtreecommitdiffstats
path: root/Source/cmCableClassSet.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/cmCableClassSet.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/cmCableClassSet.cxx')
-rw-r--r--Source/cmCableClassSet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCableClassSet.cxx b/Source/cmCableClassSet.cxx
index ed56ad6..54ebcfc 100644
--- a/Source/cmCableClassSet.cxx
+++ b/Source/cmCableClassSet.cxx
@@ -644,11 +644,11 @@ void ElementCombinationGenerator::FindTagSource()
}
// Get the makefile's include path.
- const std::vector<std::string>& includePath =
+ const std::set<std::string>& includePath =
m_Makefile->GetIncludeDirectories();
// Search the path for a file called "(m_Tag).h".
- for(std::vector<std::string>::const_iterator dir = includePath.begin();
+ for(std::set<std::string>::const_iterator dir = includePath.begin();
dir != includePath.end(); ++dir)
{
std::string filePath = *dir;