]> git.tdb.fi Git - builder.git/blobdiff - source/toolchain.h
Convert all list containers to vectors
[builder.git] / source / toolchain.h
index 8449680409884d12d2801dc760212fa70e8db886..ea452408cd4c6c25ba900a4d662ccc9847ec8f85 100644 (file)
@@ -1,9 +1,9 @@
 #ifndef TOOLCHAIN_H_
 #define TOOLCHAIN_H_
 
-#include <list>
 #include <map>
 #include <string>
+#include <vector>
 
 class Tool;
 
@@ -13,11 +13,8 @@ A container for tools.  Performs lookup based on tag or filename extension.
 class Toolchain
 {
 private:
-       typedef std::map<std::string, Tool *> ToolMap;
-       typedef std::list<Toolchain *> ToolchainList;
-
-       ToolMap tools;
-       ToolchainList chains;
+       std::map<std::string, Tool *> tools;
+       std::vector<Toolchain *> chains;
 
 public:
        ~Toolchain();