diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-02-10 16:49:42 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2013-02-10 16:49:42 (GMT) |
commit | 10511aa0849936df3724556f1f42fc3e4cf43f9f (patch) | |
tree | e6d67efa25e44078a72bcf37405f2d82a5c781d0 /Source/cmQtAutomoc.h | |
parent | 12806779be9e8f18c6eb1bbf7fb69640af1fcf1d (diff) | |
download | CMake-10511aa0849936df3724556f1f42fc3e4cf43f9f.zip CMake-10511aa0849936df3724556f1f42fc3e4cf43f9f.tar.gz CMake-10511aa0849936df3724556f1f42fc3e4cf43f9f.tar.bz2 |
automoc: use a std::vector<> instead a std::list
Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r-- | Source/cmQtAutomoc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h index a737477..ea30b15 100644 --- a/Source/cmQtAutomoc.h +++ b/Source/cmQtAutomoc.h @@ -41,14 +41,14 @@ private: bool GenerateMoc(const std::string& sourceFile, const std::string& mocFileName); void ParseCppFile(const std::string& absFilename, - const std::list<std::string>& headerExtensions, + const std::vector<std::string>& headerExtensions, std::map<std::string, std::string>& includedMocs); void StrictParseCppFile(const std::string& absFilename, - const std::list<std::string>& headerExtensions, + const std::vector<std::string>& headerExtensions, std::map<std::string, std::string>& includedMocs); void SearchHeadersForCppFile(const std::string& absFilename, - const std::list<std::string>& headerExtensions, - std::set<std::string>& absHeaders); + const std::vector<std::string>& headerExtensions, + std::set<std::string>& absHeaders); void ParseHeaders(const std::set<std::string>& absHeaders, const std::map<std::string, std::string>& includedMocs, @@ -56,7 +56,7 @@ private: void Init(); - std::string Join(const std::list<std::string>& lst, char separator); + std::string Join(const std::vector<std::string>& lst, char separator); bool EndsWith(const std::string& str, const std::string& with); bool StartsWith(const std::string& str, const std::string& with); std::string ReadAll(const std::string& filename); |