summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-16 17:38:55 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-16 17:38:55 (GMT)
commit27b82ff99588bbe90bd6caa71d29b76156b65c4b (patch)
tree68281aae176dccf314cfc3f0522daddd08b44e2e /src
parentf0f36ad1c72f6100a8957f035769fda50b69919f (diff)
downloadNinja-27b82ff99588bbe90bd6caa71d29b76156b65c4b.zip
Ninja-27b82ff99588bbe90bd6caa71d29b76156b65c4b.tar.gz
Ninja-27b82ff99588bbe90bd6caa71d29b76156b65c4b.tar.bz2
Add missing member initializer in Edge constructor
In commit v1.1.0^2~15^2~20 (stub out an api and de-constify Pool, 2012-10-03) the Edge "pool_" member was added as a raw pointer but the initializer was accidentally left out of the constructor. Add it now.
Diffstat (limited to 'src')
-rw-r--r--src/graph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h
index 9526712..5f8d41a 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -122,7 +122,8 @@ private:
/// An edge in the dependency graph; links between Nodes using Rules.
struct Edge {
- Edge() : rule_(NULL), env_(NULL), outputs_ready_(false), deps_missing_(false),
+ Edge() : rule_(NULL), pool_(NULL), env_(NULL),
+ outputs_ready_(false), deps_missing_(false),
implicit_deps_(0), order_only_deps_(0) {}
/// Return true if all inputs' in-edges are ready.