]> git.tdb.fi Git - builder.git/blobdiff - source/analyzer.h
Refuse to create an empty data pack
[builder.git] / source / analyzer.h
index 3e7aff0311511adc3682d8218be17e3088daeb1f..373150b847690039a77e402a737e5d57c8bdef9f 100644 (file)
@@ -2,6 +2,7 @@
 #define ANALYZER_H_
 
 #include <list>
+#include <map>
 #include <set>
 #include <string>
 #include <vector>
@@ -24,12 +25,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::list<TableRow> table;
        unsigned max_depth;
        bool full_paths;
        std::map<const Target *, std::set<Target *> > rdepends;