X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.h;h=d30de049bab557ed7c0195be8a9471b4d378f9ff;hb=c8c51fac9453a677fc3e6932c4730f35e237af89;hp=373150b847690039a77e402a737e5d57c8bdef9f;hpb=3938f8030b1f62802decce19777ce70fdafaff10;p=builder.git diff --git a/source/analyzer.h b/source/analyzer.h index 373150b..d30de04 100644 --- a/source/analyzer.h +++ b/source/analyzer.h @@ -1,7 +1,6 @@ #ifndef ANALYZER_H_ #define ANALYZER_H_ -#include #include #include #include @@ -28,14 +27,14 @@ private: using TableRow = std::vector; Builder &builder; - Mode mode; - std::list 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: - Analyzer(Builder &); + Analyzer(Builder &b): builder(b) { } void set_mode(Mode m) { mode = m; } void set_max_depth(unsigned m) { max_depth = m; }