summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-10-04 00:25:23 (GMT)
committerRobert A Iannucci Jr <iannucci@chromium.org>2012-11-09 04:25:39 (GMT)
commit307f0bbd13d881cc2883c3e5f7f385b8f7914480 (patch)
tree2950aeabc8412b3662d4abcf4387bffae15eafa2 /src/graph.h
parentaca4ec54656057e58ca7a9ae5de7f94c869b2ccb (diff)
downloadNinja-307f0bbd13d881cc2883c3e5f7f385b8f7914480.zip
Ninja-307f0bbd13d881cc2883c3e5f7f385b8f7914480.tar.gz
Ninja-307f0bbd13d881cc2883c3e5f7f385b8f7914480.tar.bz2
and some basic implementation
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h
index a35ab65..9e924f7 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -174,6 +174,8 @@ struct Edge {
bool outputs_ready_;
const Rule& rule() const { return *rule_; }
+ Pool& pool() const { return *pool_; }
+ int weight() const { return 1; }
bool outputs_ready() const { return outputs_ready_; }
// XXX There are three types of inputs.