diff options
author | Brad King <brad.king@kitware.com> | 2001-07-30 15:34:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-30 15:34:03 (GMT) |
commit | ddec29c52d790333fd83b7826d807b73f4f1e36c (patch) | |
tree | 1351c0489fcbb47a814d996a808b6360c7abfc37 /Source/cmCableClassSet.cxx | |
parent | b24861d895f96040e35c94944cc3866e78e7781c (diff) | |
download | CMake-ddec29c52d790333fd83b7826d807b73f4f1e36c.zip CMake-ddec29c52d790333fd83b7826d807b73f4f1e36c.tar.gz CMake-ddec29c52d790333fd83b7826d807b73f4f1e36c.tar.bz2 |
BUG: Changed include and link directory paths in cmMakefile back to std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted.
Diffstat (limited to 'Source/cmCableClassSet.cxx')
-rw-r--r-- | Source/cmCableClassSet.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCableClassSet.cxx b/Source/cmCableClassSet.cxx index 54ebcfc..ed56ad6 100644 --- a/Source/cmCableClassSet.cxx +++ b/Source/cmCableClassSet.cxx @@ -644,11 +644,11 @@ void ElementCombinationGenerator::FindTagSource() } // Get the makefile's include path. - const std::set<std::string>& includePath = + const std::vector<std::string>& includePath = m_Makefile->GetIncludeDirectories(); // Search the path for a file called "(m_Tag).h". - for(std::set<std::string>::const_iterator dir = includePath.begin(); + for(std::vector<std::string>::const_iterator dir = includePath.begin(); dir != includePath.end(); ++dir) { std::string filePath = *dir; |