summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-09-04 22:39:04 (GMT)
committerEvan Martin <martine@danga.com>2012-09-04 22:39:04 (GMT)
commit1e11c8a6bd119025efd8725370ffa42354f92f88 (patch)
tree53adfbd3d97d14a84bc9e0657e85569d0d547a11 /src/state.h
parent703dcffd6d2e4b64411eb44d3025093abfd1d737 (diff)
downloadNinja-1e11c8a6bd119025efd8725370ffa42354f92f88.zip
Ninja-1e11c8a6bd119025efd8725370ffa42354f92f88.tar.gz
Ninja-1e11c8a6bd119025efd8725370ffa42354f92f88.tar.bz2
move BuildLog to DependencyScan
The build log is needed in computing whether an edge is dirty, so I think it belongs here. (It's a bit weird that Builder needs to reach into it to record completed commands, maybe it will become cleaner with more thought.)
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h
index 9197ef8..026acf3 100644
--- a/src/state.h
+++ b/src/state.h
@@ -23,7 +23,6 @@ using namespace std;
#include "eval_env.h"
#include "hash_map.h"
-struct BuildLog;
struct Edge;
struct Node;
struct Rule;
@@ -71,7 +70,6 @@ struct State {
BindingEnv bindings_;
vector<Node*> defaults_;
- BuildLog* build_log_;
};
#endif // NINJA_STATE_H_