X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.h;h=5827480cdd913765a7353e73a97068d20b6f4f27;hb=d1f9551e05c9d341149eb490e05b1465d3d6b711;hp=3e7aff0311511adc3682d8218be17e3088daeb1f;hpb=1dbeace0c44127bee08a3a8b231f4c8dcf707b2c;p=builder.git diff --git a/source/analyzer.h b/source/analyzer.h index 3e7aff0..5827480 100644 --- a/source/analyzer.h +++ b/source/analyzer.h @@ -1,7 +1,7 @@ #ifndef ANALYZER_H_ #define ANALYZER_H_ -#include +#include #include #include #include @@ -24,14 +24,13 @@ public: }; private: - typedef std::vector TableRow; - typedef std::list Table; + using TableRow = std::vector; Builder &builder; - Mode mode; - Table table; - unsigned max_depth; - bool full_paths; + Mode mode = DEPS; + std::vector table; + unsigned max_depth = 0; + bool full_paths = false; std::map > rdepends; public: