diff options
author | Brad King <brad.king@kitware.com> | 2015-06-16 17:38:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-16 17:38:55 (GMT) |
commit | 27b82ff99588bbe90bd6caa71d29b76156b65c4b (patch) | |
tree | 68281aae176dccf314cfc3f0522daddd08b44e2e /src | |
parent | f0f36ad1c72f6100a8957f035769fda50b69919f (diff) | |
download | Ninja-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.h | 3 |
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. |