]> git.tdb.fi Git - builder.git/blobdiff - source/analyzer.h
Convert all list containers to vectors
[builder.git] / source / analyzer.h
index 5464dacf989ac84ecea5be2a0c9353128924ec8f..4c9e14641a2fc02af7be622836997804d1c0f3fe 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef ANALYZER_H_
 #define ANALYZER_H_
 
-#include <list>
 #include <map>
 #include <set>
 #include <string>
@@ -25,12 +24,11 @@ public:
        };
 
 private:
-       typedef std::vector<std::string> TableRow;
-       typedef std::list<TableRow> Table;
+       using TableRow = std::vector<std::string>;
 
        Builder &builder;
        Mode mode;
-       Table table;
+       std::vector<TableRow> table;
        unsigned max_depth;
        bool full_paths;
        std::map<const Target *, std::set<Target *> > rdepends;